pub struct UserMapping {
pub id: UserSaId,
pub reqid: u32,
pub old_saddr: Address,
pub new_saddr: Address,
pub old_sport: u16,
pub new_sport: u16,
}
Fields§
§id: UserSaId
§reqid: u32
§old_saddr: Address
§new_saddr: Address
§old_sport: u16
§new_sport: u16
Trait Implementations§
Source§impl Clone for UserMapping
impl Clone for UserMapping
Source§fn clone(&self) -> UserMapping
fn clone(&self) -> UserMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserMapping
impl Debug for UserMapping
Source§impl Default for UserMapping
impl Default for UserMapping
Source§fn default() -> UserMapping
fn default() -> UserMapping
Returns the “default value” for a type. Read more
Source§impl Emitable for UserMapping
impl Emitable for UserMapping
Source§impl<T: AsRef<[u8]> + ?Sized> Parseable<UserMappingBuffer<&T>> for UserMapping
impl<T: AsRef<[u8]> + ?Sized> Parseable<UserMappingBuffer<&T>> for UserMapping
Source§fn parse(buf: &UserMappingBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &UserMappingBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
Source§impl PartialEq for UserMapping
impl PartialEq for UserMapping
impl Copy for UserMapping
impl Eq for UserMapping
impl StructuralPartialEq for UserMapping
Auto Trait Implementations§
impl Freeze for UserMapping
impl RefUnwindSafe for UserMapping
impl Send for UserMapping
impl Sync for UserMapping
impl Unpin for UserMapping
impl UnwindSafe for UserMapping
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