#[non_exhaustive]pub struct ListDatabasesOutput {
pub databases: Option<Vec<String>>,
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.databases: Option<Vec<String>>
The names of databases.
next_token: Option<String>
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
Implementations§
source§impl ListDatabasesOutput
impl ListDatabasesOutput
sourcepub fn databases(&self) -> &[String]
pub fn databases(&self) -> &[String]
The names of databases.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .databases.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
source§impl ListDatabasesOutput
impl ListDatabasesOutput
sourcepub fn builder() -> ListDatabasesOutputBuilder
pub fn builder() -> ListDatabasesOutputBuilder
Creates a new builder-style object to manufacture ListDatabasesOutput
.
Trait Implementations§
source§impl Clone for ListDatabasesOutput
impl Clone for ListDatabasesOutput
source§fn clone(&self) -> ListDatabasesOutput
fn clone(&self) -> ListDatabasesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDatabasesOutput
impl Debug for ListDatabasesOutput
source§impl PartialEq for ListDatabasesOutput
impl PartialEq for ListDatabasesOutput
source§fn eq(&self, other: &ListDatabasesOutput) -> bool
fn eq(&self, other: &ListDatabasesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListDatabasesOutput
impl RequestId for ListDatabasesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.