#[non_exhaustive]pub struct ListDatabasesResponse {
pub databases: Vec<Database>,
pub next_page_token: String,
}Expand description
The response for ListDatabases.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.databases: Vec<Database>Databases that matched the request.
next_page_token: Stringnext_page_token can be sent in a subsequent
ListDatabases
call to fetch more of the matching databases.
Implementations§
Source§impl ListDatabasesResponse
impl ListDatabasesResponse
pub fn new() -> Self
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Sourcepub fn set_databases<T, V>(self, v: T) -> Self
pub fn set_databases<T, V>(self, v: T) -> Self
Sets the value of databases.
Trait Implementations§
Source§impl Clone for ListDatabasesResponse
impl Clone for ListDatabasesResponse
Source§fn clone(&self) -> ListDatabasesResponse
fn clone(&self) -> ListDatabasesResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListDatabasesResponse
impl Debug for ListDatabasesResponse
Source§impl Default for ListDatabasesResponse
impl Default for ListDatabasesResponse
Source§fn default() -> ListDatabasesResponse
fn default() -> ListDatabasesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListDatabasesResponsewhere
ListDatabasesResponse: Default,
impl<'de> Deserialize<'de> for ListDatabasesResponsewhere
ListDatabasesResponse: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ListDatabasesResponse
impl Message for ListDatabasesResponse
Source§impl PartialEq for ListDatabasesResponse
impl PartialEq for ListDatabasesResponse
Source§impl Serialize for ListDatabasesResponse
impl Serialize for ListDatabasesResponse
impl StructuralPartialEq for ListDatabasesResponse
Auto Trait Implementations§
impl Freeze for ListDatabasesResponse
impl RefUnwindSafe for ListDatabasesResponse
impl Send for ListDatabasesResponse
impl Sync for ListDatabasesResponse
impl Unpin for ListDatabasesResponse
impl UnwindSafe for ListDatabasesResponse
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
Mutably borrows from an owned value. Read more