pub struct KnownDestinationEntry {
pub dest_hash: [u8; 16],
pub identity_hash: [u8; 16],
pub public_key: [u8; 64],
pub app_data: Option<Vec<u8>>,
pub hops: u8,
pub received_at: f64,
pub receiving_interface: InterfaceId,
pub was_used: bool,
pub last_used_at: Option<f64>,
pub retained: bool,
}Fields§
§dest_hash: [u8; 16]§identity_hash: [u8; 16]§public_key: [u8; 64]§app_data: Option<Vec<u8>>§hops: u8§received_at: f64§receiving_interface: InterfaceId§was_used: bool§last_used_at: Option<f64>§retained: boolTrait Implementations§
Source§impl Clone for KnownDestinationEntry
impl Clone for KnownDestinationEntry
Source§fn clone(&self) -> KnownDestinationEntry
fn clone(&self) -> KnownDestinationEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KnownDestinationEntry
impl Debug for KnownDestinationEntry
Source§impl PartialEq for KnownDestinationEntry
impl PartialEq for KnownDestinationEntry
impl StructuralPartialEq for KnownDestinationEntry
Auto Trait Implementations§
impl Freeze for KnownDestinationEntry
impl RefUnwindSafe for KnownDestinationEntry
impl Send for KnownDestinationEntry
impl Sync for KnownDestinationEntry
impl Unpin for KnownDestinationEntry
impl UnsafeUnpin for KnownDestinationEntry
impl UnwindSafe for KnownDestinationEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more