pub struct KeyRotationMessage {
pub version: ProtocolVersion,
pub sequence: u64,
pub timestamp: u64,
pub member_keys: Vec<(PublicKey, PublicKey)>,
pub signature: Signature,
}Expand description
Key rotation message for forward secrecy
Fieldsยง
ยงversion: ProtocolVersionProtocol version
sequence: u64Rotation sequence number
timestamp: u64Timestamp of rotation
member_keys: Vec<(PublicKey, PublicKey)>New ephemeral keys for each member
signature: SignatureSignature by group admin
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for KeyRotationMessage
impl Clone for KeyRotationMessage
Sourceยงfn clone(&self) -> KeyRotationMessage
fn clone(&self) -> KeyRotationMessage
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 KeyRotationMessage
impl Debug for KeyRotationMessage
Sourceยงimpl<'de> Deserialize<'de> for KeyRotationMessage
impl<'de> Deserialize<'de> for KeyRotationMessage
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 KeyRotationMessage
impl RefUnwindSafe for KeyRotationMessage
impl Send for KeyRotationMessage
impl Sync for KeyRotationMessage
impl Unpin for KeyRotationMessage
impl UnwindSafe for KeyRotationMessage
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