pub struct SessionAnchorContext {
pub session_id: SessionId,
pub agent_id: String,
pub auth_context: SessionAuthContext,
pub proof_binding: Option<SessionProofBinding>,
}Fields§
§session_id: SessionId§agent_id: String§auth_context: SessionAuthContext§proof_binding: Option<SessionProofBinding>Implementations§
Source§impl SessionAnchorContext
impl SessionAnchorContext
pub fn new( session_id: SessionId, agent_id: String, auth_context: SessionAuthContext, proof_binding: Option<SessionProofBinding>, ) -> SessionAnchorContext
Trait Implementations§
Source§impl Clone for SessionAnchorContext
impl Clone for SessionAnchorContext
Source§fn clone(&self) -> SessionAnchorContext
fn clone(&self) -> SessionAnchorContext
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 SessionAnchorContext
impl Debug for SessionAnchorContext
Source§impl<'de> Deserialize<'de> for SessionAnchorContext
impl<'de> Deserialize<'de> for SessionAnchorContext
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionAnchorContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionAnchorContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionAnchorContext
impl PartialEq for SessionAnchorContext
Source§impl Serialize for SessionAnchorContext
impl Serialize for SessionAnchorContext
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SessionAnchorContext
impl StructuralPartialEq for SessionAnchorContext
Auto Trait Implementations§
impl Freeze for SessionAnchorContext
impl RefUnwindSafe for SessionAnchorContext
impl Send for SessionAnchorContext
impl Sync for SessionAnchorContext
impl Unpin for SessionAnchorContext
impl UnsafeUnpin for SessionAnchorContext
impl UnwindSafe for SessionAnchorContext
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