pub struct PersistedPath {
pub destination_hash: [u8; 16],
pub timestamp: f64,
pub received_from: [u8; 16],
pub hops: u8,
pub expires: f64,
pub random_blobs: Vec<[u8; 10]>,
pub interface_hash: Option<[u8; 32]>,
pub packet_hash: [u8; 32],
}Fields§
§destination_hash: [u8; 16]§timestamp: f64§received_from: [u8; 16]§hops: u8§expires: f64§random_blobs: Vec<[u8; 10]>§interface_hash: Option<[u8; 32]>§packet_hash: [u8; 32]Trait Implementations§
Source§impl Clone for PersistedPath
impl Clone for PersistedPath
Source§fn clone(&self) -> PersistedPath
fn clone(&self) -> PersistedPath
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 moreSource§impl Debug for PersistedPath
impl Debug for PersistedPath
Source§impl PartialEq for PersistedPath
impl PartialEq for PersistedPath
impl StructuralPartialEq for PersistedPath
Auto Trait Implementations§
impl Freeze for PersistedPath
impl RefUnwindSafe for PersistedPath
impl Send for PersistedPath
impl Sync for PersistedPath
impl Unpin for PersistedPath
impl UnsafeUnpin for PersistedPath
impl UnwindSafe for PersistedPath
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