pub struct SessionAnchorBody {
pub schema: String,
pub id: String,
pub session_id: SessionId,
pub agent_id: String,
pub auth_context: SessionAuthContext,
pub auth_context_hash: String,
pub auth_method_hash: String,
pub proof_binding: Option<SessionProofBinding>,
pub auth_epoch: u64,
pub issued_at: u64,
pub kernel_key: PublicKey,
}Expand description
Signable session-continuity anchor bound to a normalized auth context.
Fields§
§schema: String§id: String§session_id: SessionId§agent_id: String§auth_context: SessionAuthContext§auth_context_hash: String§auth_method_hash: String§proof_binding: Option<SessionProofBinding>§auth_epoch: u64§issued_at: u64§kernel_key: PublicKeyImplementations§
Trait Implementations§
Source§impl Clone for SessionAnchorBody
impl Clone for SessionAnchorBody
Source§fn clone(&self) -> SessionAnchorBody
fn clone(&self) -> SessionAnchorBody
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 SessionAnchorBody
impl Debug for SessionAnchorBody
Source§impl<'de> Deserialize<'de> for SessionAnchorBody
impl<'de> Deserialize<'de> for SessionAnchorBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionAnchorBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionAnchorBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionAnchorBody
impl PartialEq for SessionAnchorBody
Source§impl Serialize for SessionAnchorBody
impl Serialize for SessionAnchorBody
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 SessionAnchorBody
impl StructuralPartialEq for SessionAnchorBody
Auto Trait Implementations§
impl Freeze for SessionAnchorBody
impl RefUnwindSafe for SessionAnchorBody
impl Send for SessionAnchorBody
impl Sync for SessionAnchorBody
impl Unpin for SessionAnchorBody
impl UnsafeUnpin for SessionAnchorBody
impl UnwindSafe for SessionAnchorBody
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