pub struct AwsEc2SecurityGroupUserIdGroupPair {
pub group_id: Option<String>,
pub group_name: Option<String>,
pub peering_status: Option<String>,
pub user_id: Option<String>,
pub vpc_id: Option<String>,
pub vpc_peering_connection_id: Option<String>,
}Expand description
A relationship between a security group and a user.
Fields§
§group_id: Option<String>The ID of the security group.
group_name: Option<String>The name of the security group.
peering_status: Option<String>The status of a VPC peering connection, if applicable.
user_id: Option<String>The ID of an AWS account.
For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.
[EC2-Classic] Required when adding or removing rules that reference a security group in another AWS.
vpc_id: Option<String>The ID of the VPC for the referenced security group, if applicable.
vpc_peering_connection_id: Option<String>The ID of the VPC peering connection, if applicable.
Trait Implementations§
Source§impl Clone for AwsEc2SecurityGroupUserIdGroupPair
impl Clone for AwsEc2SecurityGroupUserIdGroupPair
Source§fn clone(&self) -> AwsEc2SecurityGroupUserIdGroupPair
fn clone(&self) -> AwsEc2SecurityGroupUserIdGroupPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AwsEc2SecurityGroupUserIdGroupPair
impl Default for AwsEc2SecurityGroupUserIdGroupPair
Source§fn default() -> AwsEc2SecurityGroupUserIdGroupPair
fn default() -> AwsEc2SecurityGroupUserIdGroupPair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsEc2SecurityGroupUserIdGroupPair
impl<'de> Deserialize<'de> for AwsEc2SecurityGroupUserIdGroupPair
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 AwsEc2SecurityGroupUserIdGroupPair
impl PartialEq for AwsEc2SecurityGroupUserIdGroupPair
Source§fn eq(&self, other: &AwsEc2SecurityGroupUserIdGroupPair) -> bool
fn eq(&self, other: &AwsEc2SecurityGroupUserIdGroupPair) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AwsEc2SecurityGroupUserIdGroupPair
Auto Trait Implementations§
impl Freeze for AwsEc2SecurityGroupUserIdGroupPair
impl RefUnwindSafe for AwsEc2SecurityGroupUserIdGroupPair
impl Send for AwsEc2SecurityGroupUserIdGroupPair
impl Sync for AwsEc2SecurityGroupUserIdGroupPair
impl Unpin for AwsEc2SecurityGroupUserIdGroupPair
impl UnwindSafe for AwsEc2SecurityGroupUserIdGroupPair
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