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.