pub struct SessionAck {
pub message_type: MessageType,
pub device_nonce: Vec<u8>,
pub device_pubkey: Vec<u8>,
pub device_identity: DeviceIdentity,
pub capabilities: CapabilitySet,
pub signature: Vec<u8>,
pub session_id: Uuid,
}Expand description
Handshake session_ack payload.
Fields§
§message_type: MessageType§device_nonce: Vec<u8>§device_pubkey: Vec<u8>§device_identity: DeviceIdentity§capabilities: CapabilitySet§signature: Vec<u8>§session_id: UuidTrait Implementations§
Source§impl Clone for SessionAck
impl Clone for SessionAck
Source§fn clone(&self) -> SessionAck
fn clone(&self) -> SessionAck
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 SessionAck
impl Debug for SessionAck
Source§impl<'de> Deserialize<'de> for SessionAck
impl<'de> Deserialize<'de> for SessionAck
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
Source§impl PartialEq for SessionAck
impl PartialEq for SessionAck
Source§impl Serialize for SessionAck
impl Serialize for SessionAck
impl StructuralPartialEq for SessionAck
Auto Trait Implementations§
impl Freeze for SessionAck
impl RefUnwindSafe for SessionAck
impl Send for SessionAck
impl Sync for SessionAck
impl Unpin for SessionAck
impl UnwindSafe for SessionAck
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