pub struct PairingLink {
pub endpoint: [u8; 32],
pub code: PairingCode,
pub name: String,
pub addrs: Vec<SocketAddr>,
pub relays: Vec<String>,
}Expand description
What a pairing link holds.
Fields§
§endpoint: [u8; 32]The device’s EndpointId.
code: PairingCode§name: StringWhat the device calls itself.
addrs: Vec<SocketAddr>Addresses it may be reached at.
relays: Vec<String>The URLs of relays it may be reached through.
Implementations§
Trait Implementations§
Source§impl Clone for PairingLink
impl Clone for PairingLink
Source§impl Debug for PairingLink
impl Debug for PairingLink
impl Eq for PairingLink
Source§impl PartialEq for PairingLink
impl PartialEq for PairingLink
impl StructuralPartialEq for PairingLink
Auto Trait Implementations§
impl Freeze for PairingLink
impl RefUnwindSafe for PairingLink
impl Send for PairingLink
impl Sync for PairingLink
impl Unpin for PairingLink
impl UnsafeUnpin for PairingLink
impl UnwindSafe for PairingLink
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