Struct aws_sdk_ec2::types::Ipv6Range
source · #[non_exhaustive]pub struct Ipv6Range {
pub cidr_ipv6: Option<String>,
pub description: Option<String>,
}
Expand description
Describes an IPv6 range.
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.cidr_ipv6: Option<String>
The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
description: Option<String>
A description for the security group rule that references this IPv6 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
Implementations§
source§impl Ipv6Range
impl Ipv6Range
sourcepub fn cidr_ipv6(&self) -> Option<&str>
pub fn cidr_ipv6(&self) -> Option<&str>
The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the security group rule that references this IPv6 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
Trait Implementations§
source§impl PartialEq<Ipv6Range> for Ipv6Range
impl PartialEq<Ipv6Range> for Ipv6Range
impl StructuralPartialEq for Ipv6Range
Auto Trait Implementations§
impl RefUnwindSafe for Ipv6Range
impl Send for Ipv6Range
impl Sync for Ipv6Range
impl Unpin for Ipv6Range
impl UnwindSafe for Ipv6Range
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