Struct aws_sdk_networkfirewall::model::PortRange [−][src]
Expand description
A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes
, SourcePorts
, and DestinationPorts
settings.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.from_port: i32
The lower limit of the port range. This must be less than or equal to the ToPort
specification.
to_port: i32
The upper limit of the port range. This must be greater than or equal to the FromPort
specification.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PortRange
impl UnwindSafe for PortRange
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more