pub struct WireSignedRot {
pub event: RotEvent,
pub attachment_b64: String,
}Expand description
Single-string wire form of a signed rotation: base64url-no-pad of the
JSON {event, attachment_b64} pair.
This is the ONE wire form for a signed rot in transit — every producer
(the mobile FFI’s shared-KEL rotation assembler) and consumer (the daemon
endpoint that receives a co-authored rotation) goes through
encode_signed_rot / decode_signed_rot. Mirrors WireSignedDip.
Fields§
§event: RotEventThe rotation event.
attachment_b64: Stringbase64url-no-pad of the CESR indexed-signature attachment over the rot.
Trait Implementations§
Source§impl Clone for WireSignedRot
impl Clone for WireSignedRot
Source§fn clone(&self) -> WireSignedRot
fn clone(&self) -> WireSignedRot
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 WireSignedRot
impl Debug for WireSignedRot
Source§impl<'de> Deserialize<'de> for WireSignedRot
impl<'de> Deserialize<'de> for WireSignedRot
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 WireSignedRot
impl RefUnwindSafe for WireSignedRot
impl Send for WireSignedRot
impl Sync for WireSignedRot
impl Unpin for WireSignedRot
impl UnsafeUnpin for WireSignedRot
impl UnwindSafe for WireSignedRot
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