Struct rusoto_fms::SecurityGroupRuleDescription [−][src]
pub struct SecurityGroupRuleDescription { pub from_port: Option<i64>, pub ipv4_range: Option<String>, pub ipv6_range: Option<String>, pub prefix_list_id: Option<String>, pub protocol: Option<String>, pub to_port: Option<i64>, }
Expand description
Describes a set of permissions for a security group rule.
Fields
from_port: Option<i64>
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1
indicates all ICMP/ICMPv6 types.
ipv4_range: Option<String>
The IPv4 ranges for the security group rule.
ipv6_range: Option<String>
The IPv6 ranges for the security group rule.
prefix_list_id: Option<String>
The ID of the prefix list for the security group rule.
protocol: Option<String>
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number.
to_port: Option<i64>
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1
indicates all ICMP/ICMPv6 codes.
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 Send for SecurityGroupRuleDescription
impl Sync for SecurityGroupRuleDescription
impl Unpin for SecurityGroupRuleDescription
impl UnwindSafe for SecurityGroupRuleDescription
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