Struct aws_sdk_qldb::operation::list_ledgers::ListLedgersOutput
source · #[non_exhaustive]pub struct ListLedgersOutput {
pub ledgers: Option<Vec<LedgerSummary>>,
pub next_token: Option<String>,
/* 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.ledgers: Option<Vec<LedgerSummary>>The ledgers that are associated with the current Amazon Web Services account and Region.
next_token: Option<String>A pagination token, indicating whether there are more results available:
-
If
NextTokenis empty, then the last page of results has been processed and there are no more results to be retrieved. -
If
NextTokenis not empty, then there are more results available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListLedgerscall.
Implementations§
source§impl ListLedgersOutput
impl ListLedgersOutput
sourcepub fn ledgers(&self) -> &[LedgerSummary]
pub fn ledgers(&self) -> &[LedgerSummary]
The ledgers that are associated with the current Amazon Web Services account and Region.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ledgers.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A pagination token, indicating whether there are more results available:
-
If
NextTokenis empty, then the last page of results has been processed and there are no more results to be retrieved. -
If
NextTokenis not empty, then there are more results available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListLedgerscall.
source§impl ListLedgersOutput
impl ListLedgersOutput
sourcepub fn builder() -> ListLedgersOutputBuilder
pub fn builder() -> ListLedgersOutputBuilder
Creates a new builder-style object to manufacture ListLedgersOutput.
Trait Implementations§
source§impl Clone for ListLedgersOutput
impl Clone for ListLedgersOutput
source§fn clone(&self) -> ListLedgersOutput
fn clone(&self) -> ListLedgersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListLedgersOutput
impl Debug for ListLedgersOutput
source§impl PartialEq for ListLedgersOutput
impl PartialEq for ListLedgersOutput
source§fn eq(&self, other: &ListLedgersOutput) -> bool
fn eq(&self, other: &ListLedgersOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ListLedgersOutput
impl RequestId for ListLedgersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListLedgersOutput
Auto Trait Implementations§
impl Freeze for ListLedgersOutput
impl RefUnwindSafe for ListLedgersOutput
impl Send for ListLedgersOutput
impl Sync for ListLedgersOutput
impl Unpin for ListLedgersOutput
impl UnwindSafe for ListLedgersOutput
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