pub struct AwsEc2SecurityGroupIpRange {
pub cidr_ip: Option<String>,
}Expand description
A range of IPv4 addresses.
Fields§
§cidr_ip: Option<String>The IPv4 CIDR range. You can specify either a CIDR range or a source security group, but not both. To specify a single IPv4 address, use the /32 prefix length.
Trait Implementations§
Source§impl Clone for AwsEc2SecurityGroupIpRange
impl Clone for AwsEc2SecurityGroupIpRange
Source§fn clone(&self) -> AwsEc2SecurityGroupIpRange
fn clone(&self) -> AwsEc2SecurityGroupIpRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AwsEc2SecurityGroupIpRange
impl Debug for AwsEc2SecurityGroupIpRange
Source§impl Default for AwsEc2SecurityGroupIpRange
impl Default for AwsEc2SecurityGroupIpRange
Source§fn default() -> AwsEc2SecurityGroupIpRange
fn default() -> AwsEc2SecurityGroupIpRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsEc2SecurityGroupIpRange
impl<'de> Deserialize<'de> for AwsEc2SecurityGroupIpRange
Source§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
Source§impl PartialEq for AwsEc2SecurityGroupIpRange
impl PartialEq for AwsEc2SecurityGroupIpRange
Source§fn eq(&self, other: &AwsEc2SecurityGroupIpRange) -> bool
fn eq(&self, other: &AwsEc2SecurityGroupIpRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AwsEc2SecurityGroupIpRange
Auto Trait Implementations§
impl Freeze for AwsEc2SecurityGroupIpRange
impl RefUnwindSafe for AwsEc2SecurityGroupIpRange
impl Send for AwsEc2SecurityGroupIpRange
impl Sync for AwsEc2SecurityGroupIpRange
impl Unpin for AwsEc2SecurityGroupIpRange
impl UnsafeUnpin for AwsEc2SecurityGroupIpRange
impl UnwindSafe for AwsEc2SecurityGroupIpRange
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