pub struct NetIncomingMeta {
pub source: Option<u32>,
pub ttl: Ttl,
pub meta: u8,
pub secure: bool,
}Fields§
§source: Option<u32>§ttl: Ttl§meta: u8§secure: boolImplementations§
Trait Implementations§
Source§impl Clone for NetIncomingMeta
impl Clone for NetIncomingMeta
Source§fn clone(&self) -> NetIncomingMeta
fn clone(&self) -> NetIncomingMeta
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 NetIncomingMeta
impl Debug for NetIncomingMeta
Source§impl Default for NetIncomingMeta
impl Default for NetIncomingMeta
Source§fn default() -> NetIncomingMeta
fn default() -> NetIncomingMeta
Returns the “default value” for a type. Read more
Source§impl From<&TransportMsgHeader> for NetIncomingMeta
impl From<&TransportMsgHeader> for NetIncomingMeta
Source§fn from(value: &TransportMsgHeader) -> NetIncomingMeta
fn from(value: &TransportMsgHeader) -> NetIncomingMeta
Converts to this type from the input type.
Source§impl PartialEq for NetIncomingMeta
impl PartialEq for NetIncomingMeta
impl Eq for NetIncomingMeta
impl StructuralPartialEq for NetIncomingMeta
Auto Trait Implementations§
impl Freeze for NetIncomingMeta
impl RefUnwindSafe for NetIncomingMeta
impl Send for NetIncomingMeta
impl Sync for NetIncomingMeta
impl Unpin for NetIncomingMeta
impl UnwindSafe for NetIncomingMeta
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