Struct rusoto_securityhub::IcmpTypeCode [−][src]
Expand description
An Internet Control Message Protocol (ICMP) type and code.
Fields
code: Option<i64>
The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.
type_: Option<i64>
The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IcmpTypeCode
impl Send for IcmpTypeCode
impl Sync for IcmpTypeCode
impl Unpin for IcmpTypeCode
impl UnwindSafe for IcmpTypeCode
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self