Struct aws_sdk_dynamodb::operation::list_tables::ListTablesOutput
source · #[non_exhaustive]pub struct ListTablesOutput {
pub table_names: Option<Vec<String>>,
pub last_evaluated_table_name: Option<String>,
/* private fields */
}
Expand description
Represents the output of a ListTables
operation.
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.table_names: Option<Vec<String>>
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName
also appears in the output, you can use this value as the ExclusiveStartTableName
parameter in a subsequent ListTables
request and obtain the next page of results.
last_evaluated_table_name: Option<String>
The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName
in a new request to obtain the next page of results, until all the table names are returned.
If you do not receive a LastEvaluatedTableName
value in the response, this means that there are no more table names to be retrieved.
Implementations§
source§impl ListTablesOutput
impl ListTablesOutput
sourcepub fn table_names(&self) -> &[String]
pub fn table_names(&self) -> &[String]
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName
also appears in the output, you can use this value as the ExclusiveStartTableName
parameter in a subsequent ListTables
request and obtain the next page of results.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .table_names.is_none()
.
sourcepub fn last_evaluated_table_name(&self) -> Option<&str>
pub fn last_evaluated_table_name(&self) -> Option<&str>
The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName
in a new request to obtain the next page of results, until all the table names are returned.
If you do not receive a LastEvaluatedTableName
value in the response, this means that there are no more table names to be retrieved.
source§impl ListTablesOutput
impl ListTablesOutput
sourcepub fn builder() -> ListTablesOutputBuilder
pub fn builder() -> ListTablesOutputBuilder
Creates a new builder-style object to manufacture ListTablesOutput
.
Trait Implementations§
source§impl Clone for ListTablesOutput
impl Clone for ListTablesOutput
source§fn clone(&self) -> ListTablesOutput
fn clone(&self) -> ListTablesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTablesOutput
impl Debug for ListTablesOutput
source§impl PartialEq for ListTablesOutput
impl PartialEq for ListTablesOutput
source§fn eq(&self, other: &ListTablesOutput) -> bool
fn eq(&self, other: &ListTablesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListTablesOutput
impl RequestId for ListTablesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListTablesOutput
Auto Trait Implementations§
impl Freeze for ListTablesOutput
impl RefUnwindSafe for ListTablesOutput
impl Send for ListTablesOutput
impl Sync for ListTablesOutput
impl Unpin for ListTablesOutput
impl UnwindSafe for ListTablesOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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