pub struct ParserCompletion { /* private fields */ }Expand description
Successful worker completion for one authenticated request.
Implementations§
Source§impl ParserCompletion
impl ParserCompletion
Sourcepub const fn new(
identity: ParserResponseIdentity,
evidence: ParserCompletionEvidence,
) -> Self
pub const fn new( identity: ParserResponseIdentity, evidence: ParserCompletionEvidence, ) -> Self
Construct a successful worker completion.
Sourcepub const fn evidence(&self) -> &ParserCompletionEvidence
pub const fn evidence(&self) -> &ParserCompletionEvidence
Borrow the bounded structural evidence.
Trait Implementations§
Source§impl Clone for ParserCompletion
impl Clone for ParserCompletion
Source§fn clone(&self) -> ParserCompletion
fn clone(&self) -> ParserCompletion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParserCompletion
impl Debug for ParserCompletion
Source§impl<'de> Deserialize<'de> for ParserCompletion
impl<'de> Deserialize<'de> for ParserCompletion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParserCompletion
impl PartialEq for ParserCompletion
Source§impl Serialize for ParserCompletion
impl Serialize for ParserCompletion
impl Eq for ParserCompletion
impl StructuralPartialEq for ParserCompletion
Auto Trait Implementations§
impl Freeze for ParserCompletion
impl RefUnwindSafe for ParserCompletion
impl Send for ParserCompletion
impl Sync for ParserCompletion
impl Unpin for ParserCompletion
impl UnwindSafe for ParserCompletion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.