pub struct AwsEc2SecurityGroupDetails {
pub group_id: Option<String>,
pub group_name: Option<String>,
pub ip_permissions: Option<Vec<AwsEc2SecurityGroupIpPermission>>,
pub ip_permissions_egress: Option<Vec<AwsEc2SecurityGroupIpPermission>>,
pub owner_id: Option<String>,
pub vpc_id: Option<String>,
}Expand description
Details about an EC2 security group.
Fields§
§group_id: Option<String>The ID of the security group.
group_name: Option<String>The name of the security group.
ip_permissions: Option<Vec<AwsEc2SecurityGroupIpPermission>>The inbound rules associated with the security group.
ip_permissions_egress: Option<Vec<AwsEc2SecurityGroupIpPermission>>[VPC only] The outbound rules associated with the security group.
owner_id: Option<String>The AWS account ID of the owner of the security group.
vpc_id: Option<String>[VPC only] The ID of the VPC for the security group.
Trait Implementations§
Source§impl Clone for AwsEc2SecurityGroupDetails
impl Clone for AwsEc2SecurityGroupDetails
Source§fn clone(&self) -> AwsEc2SecurityGroupDetails
fn clone(&self) -> AwsEc2SecurityGroupDetails
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 AwsEc2SecurityGroupDetails
impl Debug for AwsEc2SecurityGroupDetails
Source§impl Default for AwsEc2SecurityGroupDetails
impl Default for AwsEc2SecurityGroupDetails
Source§fn default() -> AwsEc2SecurityGroupDetails
fn default() -> AwsEc2SecurityGroupDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsEc2SecurityGroupDetails
impl<'de> Deserialize<'de> for AwsEc2SecurityGroupDetails
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 AwsEc2SecurityGroupDetails
impl PartialEq for AwsEc2SecurityGroupDetails
Source§fn eq(&self, other: &AwsEc2SecurityGroupDetails) -> bool
fn eq(&self, other: &AwsEc2SecurityGroupDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AwsEc2SecurityGroupDetails
Auto Trait Implementations§
impl Freeze for AwsEc2SecurityGroupDetails
impl RefUnwindSafe for AwsEc2SecurityGroupDetails
impl Send for AwsEc2SecurityGroupDetails
impl Sync for AwsEc2SecurityGroupDetails
impl Unpin for AwsEc2SecurityGroupDetails
impl UnsafeUnpin for AwsEc2SecurityGroupDetails
impl UnwindSafe for AwsEc2SecurityGroupDetails
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