pub struct ServerPreamble {
pub identity_public_key: String,
pub exchange_public_key: ExchangePublicKey,
pub signature: SerializeableSignature,
pub challenge: Challenge,
}Expand description
Serves as the server’s response to the preamble, containing its public key, its signature of the client’s challenge and a challenge.
Fields§
§identity_public_key: String§exchange_public_key: ExchangePublicKey§signature: SerializeableSignature§challenge: ChallengeTrait Implementations§
Source§impl Clone for ServerPreamble
impl Clone for ServerPreamble
Source§fn clone(&self) -> ServerPreamble
fn clone(&self) -> ServerPreamble
Returns a copy 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 ServerPreamble
impl Debug for ServerPreamble
Source§impl<'de> Deserialize<'de> for ServerPreamble
impl<'de> Deserialize<'de> for ServerPreamble
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 ServerPreamble
impl PartialEq for ServerPreamble
Source§impl Serialize for ServerPreamble
impl Serialize for ServerPreamble
impl Eq for ServerPreamble
impl StructuralPartialEq for ServerPreamble
Auto Trait Implementations§
impl Freeze for ServerPreamble
impl RefUnwindSafe for ServerPreamble
impl Send for ServerPreamble
impl Sync for ServerPreamble
impl Unpin for ServerPreamble
impl UnwindSafe for ServerPreamble
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