#[non_exhaustive]pub struct ListRuleGroupsOutput {
pub next_token: Option<String>,
pub rule_groups: Option<Vec<RuleGroupMetadata>>,
/* private fields */
}
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§
source§impl 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.
source§impl ListRuleGroupsOutput
impl ListRuleGroupsOutput
sourcepub fn builder() -> ListRuleGroupsOutputBuilder
pub fn builder() -> ListRuleGroupsOutputBuilder
Creates a new builder-style object to manufacture ListRuleGroupsOutput
.
Trait Implementations§
source§impl Clone for ListRuleGroupsOutput
impl Clone for ListRuleGroupsOutput
source§fn clone(&self) -> ListRuleGroupsOutput
fn clone(&self) -> ListRuleGroupsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListRuleGroupsOutput
impl Debug for ListRuleGroupsOutput
source§impl PartialEq<ListRuleGroupsOutput> for ListRuleGroupsOutput
impl PartialEq<ListRuleGroupsOutput> for ListRuleGroupsOutput
source§fn eq(&self, other: &ListRuleGroupsOutput) -> bool
fn eq(&self, other: &ListRuleGroupsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListRuleGroupsOutput
impl RequestId for ListRuleGroupsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.