pub struct WireSignedDip {
pub event: DipEvent,
pub attachment_b64: String,
}Expand description
A device-signed delegated inception serialized for a single wire field.
Carried as base64url-no-pad(JSON) wherever a transport needs a signed dip
in one string (e.g. a pairing response’s responder_inception_event). The
CESR signature attachment travels alongside the event so the receiver can
replay the signed dip exactly as the device emitted it.
This is the ONE wire form for a signed dip — every producer (CLI joiner,
mobile FFI) and consumer (the anchoring initiator) goes through
encode_signed_dip / decode_signed_dip.
Fields§
§event: DipEventThe device’s delegated-inception event.
attachment_b64: Stringbase64url-no-pad of the device’s CESR signature attachment over the dip.
Trait Implementations§
Source§impl Clone for WireSignedDip
impl Clone for WireSignedDip
Source§fn clone(&self) -> WireSignedDip
fn clone(&self) -> WireSignedDip
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 WireSignedDip
impl Debug for WireSignedDip
Source§impl<'de> Deserialize<'de> for WireSignedDip
impl<'de> Deserialize<'de> for WireSignedDip
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
Auto Trait Implementations§
impl Freeze for WireSignedDip
impl RefUnwindSafe for WireSignedDip
impl Send for WireSignedDip
impl Sync for WireSignedDip
impl Unpin for WireSignedDip
impl UnsafeUnpin for WireSignedDip
impl UnwindSafe for WireSignedDip
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