pub struct PeerPresentation {
pub display_name: Option<String>,
pub app_version: Option<String>,
pub custom_info: Option<String>,
pub device_identity: Option<DeviceIdentity>,
}Expand description
How this peer presents itself to others (QarPeerPresentation). None keeps the persisted
value (or a generated default on first onboard).
Fields§
§display_name: Option<String>The human label advertised to peers; it also feeds the sanitized debug label of the certificate and the storage slot.
app_version: Option<String>§custom_info: Option<String>App-defined peer metadata.
device_identity: Option<DeviceIdentity>The device this application describes itself as (QarPeerDeviceIdentity, chained on the
presentation of the onboard or rejoin init). None: a desktop PC with the fixed id of the
host OS.
Trait Implementations§
Source§impl Clone for PeerPresentation
impl Clone for PeerPresentation
Source§impl Debug for PeerPresentation
impl Debug for PeerPresentation
Auto Trait Implementations§
impl Freeze for PeerPresentation
impl RefUnwindSafe for PeerPresentation
impl Send for PeerPresentation
impl Sync for PeerPresentation
impl Unpin for PeerPresentation
impl UnsafeUnpin for PeerPresentation
impl UnwindSafe for PeerPresentation
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