Struct aws_sdk_fms::model::AwsEc2NetworkInterfaceViolation
source · [−]#[non_exhaustive]pub struct AwsEc2NetworkInterfaceViolation {
pub violation_target: Option<String>,
pub violating_security_groups: Option<Vec<String>>,
}
Expand description
Violation detail for network interfaces associated with an EC2 instance.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.violation_target: Option<String>
The resource ID of the network interface.
violating_security_groups: Option<Vec<String>>
List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
Implementations
sourceimpl AwsEc2NetworkInterfaceViolation
impl AwsEc2NetworkInterfaceViolation
sourcepub fn violation_target(&self) -> Option<&str>
pub fn violation_target(&self) -> Option<&str>
The resource ID of the network interface.
sourcepub fn violating_security_groups(&self) -> Option<&[String]>
pub fn violating_security_groups(&self) -> Option<&[String]>
List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
sourceimpl AwsEc2NetworkInterfaceViolation
impl AwsEc2NetworkInterfaceViolation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2NetworkInterfaceViolation
.
Trait Implementations
sourceimpl Clone for AwsEc2NetworkInterfaceViolation
impl Clone for AwsEc2NetworkInterfaceViolation
sourcefn clone(&self) -> AwsEc2NetworkInterfaceViolation
fn clone(&self) -> AwsEc2NetworkInterfaceViolation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<AwsEc2NetworkInterfaceViolation> for AwsEc2NetworkInterfaceViolation
impl PartialEq<AwsEc2NetworkInterfaceViolation> for AwsEc2NetworkInterfaceViolation
sourcefn eq(&self, other: &AwsEc2NetworkInterfaceViolation) -> bool
fn eq(&self, other: &AwsEc2NetworkInterfaceViolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsEc2NetworkInterfaceViolation) -> bool
fn ne(&self, other: &AwsEc2NetworkInterfaceViolation) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsEc2NetworkInterfaceViolation
Auto Trait Implementations
impl RefUnwindSafe for AwsEc2NetworkInterfaceViolation
impl Send for AwsEc2NetworkInterfaceViolation
impl Sync for AwsEc2NetworkInterfaceViolation
impl Unpin for AwsEc2NetworkInterfaceViolation
impl UnwindSafe for AwsEc2NetworkInterfaceViolation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more