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 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