pub struct NeighborRecord {
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 NeighborRecord
impl Clone for NeighborRecord
Source§fn clone(&self) -> NeighborRecord
fn clone(&self) -> NeighborRecord
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 NeighborRecord
impl RefUnwindSafe for NeighborRecord
impl Send for NeighborRecord
impl Sync for NeighborRecord
impl Unpin for NeighborRecord
impl UnsafeUnpin for NeighborRecord
impl UnwindSafe for NeighborRecord
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