#[non_exhaustive]pub struct InstancesListResponse {
pub kind: String,
pub warnings: Vec<ApiWarning>,
pub items: Vec<DatabaseInstance>,
pub next_page_token: String,
/* private fields */
}
Expand description
Database instances list response.
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.kind: String
This is always sql#instancesList
.
warnings: Vec<ApiWarning>
List of warnings that occurred while handling the request.
items: Vec<DatabaseInstance>
List of database instance resources.
next_page_token: String
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
Implementations§
Source§impl InstancesListResponse
impl InstancesListResponse
pub fn new() -> Self
Sourcepub fn set_warnings<T, V>(self, v: T) -> Self
pub fn set_warnings<T, V>(self, v: T) -> Self
Sets the value of warnings.
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.
Trait Implementations§
Source§impl Clone for InstancesListResponse
impl Clone for InstancesListResponse
Source§fn clone(&self) -> InstancesListResponse
fn clone(&self) -> InstancesListResponse
Returns a duplicate 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 InstancesListResponse
impl Debug for InstancesListResponse
Source§impl Default for InstancesListResponse
impl Default for InstancesListResponse
Source§fn default() -> InstancesListResponse
fn default() -> InstancesListResponse
Returns the “default value” for a type. Read more
Source§impl Message for InstancesListResponse
impl Message for InstancesListResponse
Source§impl PartialEq for InstancesListResponse
impl PartialEq for InstancesListResponse
impl StructuralPartialEq for InstancesListResponse
Auto Trait Implementations§
impl Freeze for InstancesListResponse
impl RefUnwindSafe for InstancesListResponse
impl Send for InstancesListResponse
impl Sync for InstancesListResponse
impl Unpin for InstancesListResponse
impl UnwindSafe for InstancesListResponse
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