pub struct KnownDestination {
pub timestamp: f64,
pub packet_hash: [u8; 32],
pub public_key: [u8; 64],
pub app_data: Option<Vec<u8>>,
}Expand description
A known destination entry.
Fields§
§timestamp: f64§packet_hash: [u8; 32]§public_key: [u8; 64]§app_data: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for KnownDestination
impl Clone for KnownDestination
Source§fn clone(&self) -> KnownDestination
fn clone(&self) -> KnownDestination
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 moreAuto Trait Implementations§
impl Freeze for KnownDestination
impl RefUnwindSafe for KnownDestination
impl Send for KnownDestination
impl Sync for KnownDestination
impl Unpin for KnownDestination
impl UnsafeUnpin for KnownDestination
impl UnwindSafe for KnownDestination
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