#[non_exhaustive]pub struct ListReceiptRuleSetsOutput {
pub rule_sets: Option<Vec<ReceiptRuleSetMetadata>>,
pub next_token: Option<String>,
/* private fields */
}
Expand description
A list of receipt rule sets that exist under your Amazon Web Services account.
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_sets: Option<Vec<ReceiptRuleSetMetadata>>
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
next_token: Option<String>
A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.
Implementations§
source§impl ListReceiptRuleSetsOutput
impl ListReceiptRuleSetsOutput
sourcepub fn rule_sets(&self) -> &[ReceiptRuleSetMetadata]
pub fn rule_sets(&self) -> &[ReceiptRuleSetMetadata]
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rule_sets.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.
source§impl ListReceiptRuleSetsOutput
impl ListReceiptRuleSetsOutput
sourcepub fn builder() -> ListReceiptRuleSetsOutputBuilder
pub fn builder() -> ListReceiptRuleSetsOutputBuilder
Creates a new builder-style object to manufacture ListReceiptRuleSetsOutput
.
Trait Implementations§
source§impl Clone for ListReceiptRuleSetsOutput
impl Clone for ListReceiptRuleSetsOutput
source§fn clone(&self) -> ListReceiptRuleSetsOutput
fn clone(&self) -> ListReceiptRuleSetsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListReceiptRuleSetsOutput
impl Debug for ListReceiptRuleSetsOutput
source§impl PartialEq for ListReceiptRuleSetsOutput
impl PartialEq for ListReceiptRuleSetsOutput
source§fn eq(&self, other: &ListReceiptRuleSetsOutput) -> bool
fn eq(&self, other: &ListReceiptRuleSetsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListReceiptRuleSetsOutput
impl RequestId for ListReceiptRuleSetsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListReceiptRuleSetsOutput
Auto Trait Implementations§
impl Freeze for ListReceiptRuleSetsOutput
impl RefUnwindSafe for ListReceiptRuleSetsOutput
impl Send for ListReceiptRuleSetsOutput
impl Sync for ListReceiptRuleSetsOutput
impl Unpin for ListReceiptRuleSetsOutput
impl UnwindSafe for ListReceiptRuleSetsOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more