pub struct ExpectedBinding {
pub session_id: u64,
pub verifier: EntityId,
pub verifier_nonce: [u8; 32],
}Expand description
What the verifier expects a presentation to be bound to. Every field is verifier-owned state, never taken from the wire.
Fields§
§session_id: u64Session incarnation the challenge was issued on.
verifier: EntityIdThis node’s identity.
verifier_nonce: [u8; 32]The one-use challenge this node minted and has not yet consumed.
Trait Implementations§
Source§impl Clone for ExpectedBinding
impl Clone for ExpectedBinding
Source§fn clone(&self) -> ExpectedBinding
fn clone(&self) -> ExpectedBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpectedBinding
impl RefUnwindSafe for ExpectedBinding
impl Send for ExpectedBinding
impl Sync for ExpectedBinding
impl Unpin for ExpectedBinding
impl UnsafeUnpin for ExpectedBinding
impl UnwindSafe for ExpectedBinding
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