pub struct ServerPairInit {
pub nonce_a: Option<String>,
}Expand description
server/pair-init: begins a round of the Dynamic Pairing Code Flow.
The server sends it in answer to client/pair-init, and again after every
ClientPairRetry. Only the first round carries the server’s nonce: the binding values, and
with them the code, are unchanged across the rounds of one attempt.
Fields§
§nonce_a: Option<String>32-byte server nonce as 43 unpadded base64url characters; present in the first round only.
The value is public - it is the server’s half of the code binding - and is renamed to the
nonce_A the wire spells. Debug redacts it anyway, so that no pairing message can carry
a nonce into a log line.
Trait Implementations§
Source§impl Clone for ServerPairInit
impl Clone for ServerPairInit
Source§impl Debug for ServerPairInit
impl Debug for ServerPairInit
Source§impl Default for ServerPairInit
impl Default for ServerPairInit
Source§impl<'de> Deserialize<'de> for ServerPairInit
impl<'de> Deserialize<'de> for ServerPairInit
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
impl Eq for ServerPairInit
Source§impl PartialEq for ServerPairInit
impl PartialEq for ServerPairInit
Source§impl Serialize for ServerPairInit
impl Serialize for ServerPairInit
impl StructuralPartialEq for ServerPairInit
Auto Trait Implementations§
impl Forget for ServerPairInit
impl Freeze for ServerPairInit
impl Move for ServerPairInit
impl RefUnwindSafe for ServerPairInit
impl Send for ServerPairInit
impl Sync for ServerPairInit
impl Unpin for ServerPairInit
impl UnsafeUnpin for ServerPairInit
impl UnwindSafe for ServerPairInit
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