#[non_exhaustive]pub struct ListRuleGroupsOutput {
pub next_token: Option<String>,
pub rule_groups: Option<Vec<RuleGroupMetadata>>,
}
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.next_token: Option<String>
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
rule_groups: Option<Vec<RuleGroupMetadata>>
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.
Implementations
sourceimpl ListRuleGroupsOutput
impl ListRuleGroupsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn rule_groups(&self) -> Option<&[RuleGroupMetadata]>
pub fn rule_groups(&self) -> Option<&[RuleGroupMetadata]>
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.
sourceimpl ListRuleGroupsOutput
impl ListRuleGroupsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListRuleGroupsOutput
Trait Implementations
sourceimpl Clone for ListRuleGroupsOutput
impl Clone for ListRuleGroupsOutput
sourcefn clone(&self) -> ListRuleGroupsOutput
fn clone(&self) -> ListRuleGroupsOutput
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 ListRuleGroupsOutput
impl Debug for ListRuleGroupsOutput
sourceimpl PartialEq<ListRuleGroupsOutput> for ListRuleGroupsOutput
impl PartialEq<ListRuleGroupsOutput> for ListRuleGroupsOutput
sourcefn eq(&self, other: &ListRuleGroupsOutput) -> bool
fn eq(&self, other: &ListRuleGroupsOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListRuleGroupsOutput) -> bool
fn ne(&self, other: &ListRuleGroupsOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListRuleGroupsOutput
Auto Trait Implementations
impl RefUnwindSafe for ListRuleGroupsOutput
impl Send for ListRuleGroupsOutput
impl Sync for ListRuleGroupsOutput
impl Unpin for ListRuleGroupsOutput
impl UnwindSafe for ListRuleGroupsOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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