pub struct SessionChainComponents {
pub sender_ratchet_key: Option<Vec<u8>>,
pub sender_ratchet_key_private: Option<Vec<u8>>,
pub chain_key: Option<SessionChainKeyComponents>,
pub message_keys: Vec<SessionMessageKeyComponents>,
}Expand description
A sender or receiver ratchet chain and its skipped message keys.
Imported sender chains must be structurally complete. Imported receiver chains must not carry private material; persisted receiver private fields are ignored for compatibility with the canonical reader.
Fields§
§sender_ratchet_key: Option<Vec<u8>>§sender_ratchet_key_private: Option<Vec<u8>>§chain_key: Option<SessionChainKeyComponents>§message_keys: Vec<SessionMessageKeyComponents>Trait Implementations§
Source§impl Clone for SessionChainComponents
impl Clone for SessionChainComponents
Source§impl Debug for SessionChainComponents
impl Debug for SessionChainComponents
Source§impl Default for SessionChainComponents
impl Default for SessionChainComponents
impl Eq for SessionChainComponents
Source§impl PartialEq for SessionChainComponents
impl PartialEq for SessionChainComponents
impl StructuralPartialEq for SessionChainComponents
Auto Trait Implementations§
impl Freeze for SessionChainComponents
impl RefUnwindSafe for SessionChainComponents
impl Send for SessionChainComponents
impl Sync for SessionChainComponents
impl Unpin for SessionChainComponents
impl UnsafeUnpin for SessionChainComponents
impl UnwindSafe for SessionChainComponents
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