pub struct RelayFrame {
pub ciphertext: Vec<u8>,
pub destination: String,
pub priority: Option<String>,
pub hop_count: u32,
pub expires_at: Option<String>,
pub source: Option<String>,
}Fields§
§ciphertext: Vec<u8>§destination: String§priority: Option<String>§hop_count: u32§expires_at: Option<String>§source: Option<String>Trait Implementations§
Source§impl Clone for RelayFrame
impl Clone for RelayFrame
Source§fn clone(&self) -> RelayFrame
fn clone(&self) -> RelayFrame
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 RelayFrame
impl Debug for RelayFrame
Source§impl Default for RelayFrame
impl Default for RelayFrame
Source§fn default() -> RelayFrame
fn default() -> RelayFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RelayFrame
impl RefUnwindSafe for RelayFrame
impl Send for RelayFrame
impl Sync for RelayFrame
impl Unpin for RelayFrame
impl UnsafeUnpin for RelayFrame
impl UnwindSafe for RelayFrame
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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