pub struct CloseLoopEvidence {
pub kind: String,
pub session_id: String,
pub receipt_digest: String,
}Expand description
Close-loop evidence bound into a handoff: a sealed session package on the
sender’s side whose receipt.json digest is recorded here.
Fields§
§kind: StringEvidence kind. session is the only kind today.
session_id: StringThe sealed session id (ssn_...).
receipt_digest: Stringsha256:<hex> of the package’s receipt.json bytes, the same digest
the session.v1 record binds.
Trait Implementations§
Source§impl Clone for CloseLoopEvidence
impl Clone for CloseLoopEvidence
Source§fn clone(&self) -> CloseLoopEvidence
fn clone(&self) -> CloseLoopEvidence
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 moreSource§impl Debug for CloseLoopEvidence
impl Debug for CloseLoopEvidence
Source§impl<'de> Deserialize<'de> for CloseLoopEvidence
impl<'de> Deserialize<'de> for CloseLoopEvidence
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
impl Eq for CloseLoopEvidence
Source§impl PartialEq for CloseLoopEvidence
impl PartialEq for CloseLoopEvidence
Source§impl Serialize for CloseLoopEvidence
impl Serialize for CloseLoopEvidence
impl StructuralPartialEq for CloseLoopEvidence
Auto Trait Implementations§
impl Freeze for CloseLoopEvidence
impl RefUnwindSafe for CloseLoopEvidence
impl Send for CloseLoopEvidence
impl Sync for CloseLoopEvidence
impl Unpin for CloseLoopEvidence
impl UnsafeUnpin for CloseLoopEvidence
impl UnwindSafe for CloseLoopEvidence
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.