#[non_exhaustive]pub struct ListDatabaseOperationsResponse {
pub operations: Vec<Operation>,
pub next_page_token: String,
/* private fields */
}
Expand description
The response for ListDatabaseOperations.
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.operations: Vec<Operation>
The list of matching database long-running
operations. Each operation’s name will be
prefixed by the database’s name. The operation’s
metadata field type
metadata.type_url
describes the type of the metadata.
next_page_token: String
next_page_token
can be sent in a subsequent
ListDatabaseOperations
call to fetch more of the matching metadata.
Implementations§
Source§impl ListDatabaseOperationsResponse
impl ListDatabaseOperationsResponse
pub fn new() -> Self
Sourcepub fn set_operations<T, V>(self, v: T) -> Self
pub fn set_operations<T, V>(self, v: T) -> Self
Sets the value of operations.
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 ListDatabaseOperationsResponse
impl Clone for ListDatabaseOperationsResponse
Source§fn clone(&self) -> ListDatabaseOperationsResponse
fn clone(&self) -> ListDatabaseOperationsResponse
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 Default for ListDatabaseOperationsResponse
impl Default for ListDatabaseOperationsResponse
Source§fn default() -> ListDatabaseOperationsResponse
fn default() -> ListDatabaseOperationsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListDatabaseOperationsResponse
impl PartialEq for ListDatabaseOperationsResponse
Source§fn eq(&self, other: &ListDatabaseOperationsResponse) -> bool
fn eq(&self, other: &ListDatabaseOperationsResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListDatabaseOperationsResponse
Auto Trait Implementations§
impl Freeze for ListDatabaseOperationsResponse
impl RefUnwindSafe for ListDatabaseOperationsResponse
impl Send for ListDatabaseOperationsResponse
impl Sync for ListDatabaseOperationsResponse
impl Unpin for ListDatabaseOperationsResponse
impl UnwindSafe for ListDatabaseOperationsResponse
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