pub struct IcmpTypeCode {
pub code: Option<i64>,
pub type_: Option<i64>,
}
Expand description
Describes the ICMP type and code.
Fields§
§code: Option<i64>
The ICMP code. A value of -1 means all codes for the specified ICMP type.
type_: Option<i64>
The ICMP type. A value of -1 means all types.
Trait Implementations§
Source§impl Clone for IcmpTypeCode
impl Clone for IcmpTypeCode
Source§fn clone(&self) -> IcmpTypeCode
fn clone(&self) -> IcmpTypeCode
Returns a copy 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 IcmpTypeCode
impl Debug for IcmpTypeCode
Source§impl Default for IcmpTypeCode
impl Default for IcmpTypeCode
Source§fn default() -> IcmpTypeCode
fn default() -> IcmpTypeCode
Returns the “default value” for a type. Read more
Source§impl PartialEq for IcmpTypeCode
impl PartialEq for IcmpTypeCode
impl StructuralPartialEq for IcmpTypeCode
Auto Trait Implementations§
impl Freeze for IcmpTypeCode
impl RefUnwindSafe for IcmpTypeCode
impl Send for IcmpTypeCode
impl Sync for IcmpTypeCode
impl Unpin for IcmpTypeCode
impl UnwindSafe for IcmpTypeCode
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