pub struct PairingAnswer {
pub credential: Box<UserDeviceCredential>,
pub state: Option<Box<PortableIdentityState>>,
pub servers: Vec<PairedServer>,
}Expand description
The root terminal’s answer to a PairingOffer: what
PhoneFrame::Credential carries on a direct pairing. The server only
carries it: the device checks the credential names its own key and
shows whose identity it is before it keeps it.
Fields§
§credential: Box<UserDeviceCredential>§state: Option<Box<PortableIdentityState>>§servers: Vec<PairedServer>At most MAX_PAIRED_SERVERS.
Trait Implementations§
Source§impl Clone for PairingAnswer
impl Clone for PairingAnswer
Source§impl Debug for PairingAnswer
impl Debug for PairingAnswer
Source§impl<'de> Deserialize<'de> for PairingAnswer
impl<'de> Deserialize<'de> for PairingAnswer
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 PairingAnswer
Source§impl PartialEq for PairingAnswer
impl PartialEq for PairingAnswer
Source§impl Serialize for PairingAnswer
impl Serialize for PairingAnswer
impl StructuralPartialEq for PairingAnswer
Auto Trait Implementations§
impl Freeze for PairingAnswer
impl RefUnwindSafe for PairingAnswer
impl Send for PairingAnswer
impl Sync for PairingAnswer
impl Unpin for PairingAnswer
impl UnsafeUnpin for PairingAnswer
impl UnwindSafe for PairingAnswer
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