Struct aws_sdk_ec2::types::SecurityGroupReference
source · #[non_exhaustive]pub struct SecurityGroupReference {
pub group_id: Option<String>,
pub referencing_vpc_id: Option<String>,
pub vpc_peering_connection_id: Option<String>,
}
Expand description
Describes a VPC with a security group that references your security group.
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.group_id: Option<String>
The ID of your security group.
referencing_vpc_id: Option<String>
The ID of the VPC with the referencing security group.
vpc_peering_connection_id: Option<String>
The ID of the VPC peering connection.
Implementations§
source§impl SecurityGroupReference
impl SecurityGroupReference
sourcepub fn builder() -> SecurityGroupReferenceBuilder
pub fn builder() -> SecurityGroupReferenceBuilder
Creates a new builder-style object to manufacture SecurityGroupReference
.
Trait Implementations§
source§impl Clone for SecurityGroupReference
impl Clone for SecurityGroupReference
source§fn clone(&self) -> SecurityGroupReference
fn clone(&self) -> SecurityGroupReference
Returns a copy 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 Debug for SecurityGroupReference
impl Debug for SecurityGroupReference
source§impl PartialEq<SecurityGroupReference> for SecurityGroupReference
impl PartialEq<SecurityGroupReference> for SecurityGroupReference
source§fn eq(&self, other: &SecurityGroupReference) -> bool
fn eq(&self, other: &SecurityGroupReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityGroupReference
Auto Trait Implementations§
impl RefUnwindSafe for SecurityGroupReference
impl Send for SecurityGroupReference
impl Sync for SecurityGroupReference
impl Unpin for SecurityGroupReference
impl UnwindSafe for SecurityGroupReference
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