pub struct NeighborSnapshot {
pub destination_hash: [u8; 16],
pub identity: Identity,
pub last_seen_ms: u64,
pub app_data: Vec<u8>,
}Fields§
§destination_hash: [u8; 16]§identity: Identity§last_seen_ms: u64§app_data: Vec<u8>Trait Implementations§
Source§impl Clone for NeighborSnapshot
impl Clone for NeighborSnapshot
Source§fn clone(&self) -> NeighborSnapshot
fn clone(&self) -> NeighborSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NeighborSnapshot
impl RefUnwindSafe for NeighborSnapshot
impl Send for NeighborSnapshot
impl Sync for NeighborSnapshot
impl Unpin for NeighborSnapshot
impl UnsafeUnpin for NeighborSnapshot
impl UnwindSafe for NeighborSnapshot
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