pub struct AwsEc2NetworkInterfaceSecurityGroup {
pub group_id: Option<String>,
pub group_name: Option<String>,
}
Expand description
A security group associated with the network interface.
Fields§
§group_id: Option<String>
The ID of the security group.
group_name: Option<String>
The name of the security group.
Trait Implementations§
Source§impl Clone for AwsEc2NetworkInterfaceSecurityGroup
impl Clone for AwsEc2NetworkInterfaceSecurityGroup
Source§fn clone(&self) -> AwsEc2NetworkInterfaceSecurityGroup
fn clone(&self) -> AwsEc2NetworkInterfaceSecurityGroup
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 AwsEc2NetworkInterfaceSecurityGroup
impl Default for AwsEc2NetworkInterfaceSecurityGroup
Source§fn default() -> AwsEc2NetworkInterfaceSecurityGroup
fn default() -> AwsEc2NetworkInterfaceSecurityGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsEc2NetworkInterfaceSecurityGroup
impl<'de> Deserialize<'de> for AwsEc2NetworkInterfaceSecurityGroup
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 AwsEc2NetworkInterfaceSecurityGroup
impl PartialEq for AwsEc2NetworkInterfaceSecurityGroup
Source§fn eq(&self, other: &AwsEc2NetworkInterfaceSecurityGroup) -> bool
fn eq(&self, other: &AwsEc2NetworkInterfaceSecurityGroup) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AwsEc2NetworkInterfaceSecurityGroup
Auto Trait Implementations§
impl Freeze for AwsEc2NetworkInterfaceSecurityGroup
impl RefUnwindSafe for AwsEc2NetworkInterfaceSecurityGroup
impl Send for AwsEc2NetworkInterfaceSecurityGroup
impl Sync for AwsEc2NetworkInterfaceSecurityGroup
impl Unpin for AwsEc2NetworkInterfaceSecurityGroup
impl UnwindSafe for AwsEc2NetworkInterfaceSecurityGroup
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