Struct aws_sdk_ec2::types::IpRange
source · #[non_exhaustive]pub struct IpRange { /* private fields */ }
Expand description
Describes an IPv4 range.
Implementations§
source§impl IpRange
impl IpRange
sourcepub fn cidr_ip(&self) -> Option<&str>
pub fn cidr_ip(&self) -> Option<&str>
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the security group rule that references this IPv4 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<IpRange> for IpRange
impl PartialEq<IpRange> for IpRange
impl StructuralPartialEq for IpRange
Auto Trait Implementations§
impl RefUnwindSafe for IpRange
impl Send for IpRange
impl Sync for IpRange
impl Unpin for IpRange
impl UnwindSafe for IpRange
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