Struct aws_sdk_fms::model::StatelessRuleGroup
source · [−]#[non_exhaustive]pub struct StatelessRuleGroup {
pub rule_group_name: Option<String>,
pub resource_id: Option<String>,
pub priority: i32,
}
Expand description
Network Firewall stateless rule group, used in a NetworkFirewallPolicyDescription
.
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.rule_group_name: Option<String>
The name of the rule group.
resource_id: Option<String>
The resource ID of the rule group.
priority: i32
The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.
Implementations
sourceimpl StatelessRuleGroup
impl StatelessRuleGroup
sourcepub fn rule_group_name(&self) -> Option<&str>
pub fn rule_group_name(&self) -> Option<&str>
The name of the rule group.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource ID of the rule group.
sourceimpl StatelessRuleGroup
impl StatelessRuleGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatelessRuleGroup
.
Trait Implementations
sourceimpl Clone for StatelessRuleGroup
impl Clone for StatelessRuleGroup
sourcefn clone(&self) -> StatelessRuleGroup
fn clone(&self) -> StatelessRuleGroup
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 Debug for StatelessRuleGroup
impl Debug for StatelessRuleGroup
sourceimpl PartialEq<StatelessRuleGroup> for StatelessRuleGroup
impl PartialEq<StatelessRuleGroup> for StatelessRuleGroup
sourcefn eq(&self, other: &StatelessRuleGroup) -> bool
fn eq(&self, other: &StatelessRuleGroup) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StatelessRuleGroup) -> bool
fn ne(&self, other: &StatelessRuleGroup) -> bool
This method tests for !=
.
impl StructuralPartialEq for StatelessRuleGroup
Auto Trait Implementations
impl RefUnwindSafe for StatelessRuleGroup
impl Send for StatelessRuleGroup
impl Sync for StatelessRuleGroup
impl Unpin for StatelessRuleGroup
impl UnwindSafe for StatelessRuleGroup
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