#[non_exhaustive]pub struct ListBackupOperationsResponse {
pub operations: Vec<Operation>,
pub next_page_token: String,
/* private fields */
}
Expand description
The response for ListBackupOperations.
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 backup long-running
operations. Each operation’s name will be
prefixed by the backup’s name. The operation’s
metadata field type
metadata.type_url
describes the type of the metadata. Operations returned
include those that are pending or have completed/failed/canceled within the
last 7 days. Operations returned are ordered by
operation.metadata.value.progress.start_time
in descending order starting
from the most recently started operation.
next_page_token: String
next_page_token
can be sent in a subsequent
ListBackupOperations
call to fetch more of the matching metadata.
Implementations§
Source§impl ListBackupOperationsResponse
impl ListBackupOperationsResponse
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 ListBackupOperationsResponse
impl Clone for ListBackupOperationsResponse
Source§fn clone(&self) -> ListBackupOperationsResponse
fn clone(&self) -> ListBackupOperationsResponse
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 ListBackupOperationsResponse
impl Debug for ListBackupOperationsResponse
Source§impl Default for ListBackupOperationsResponse
impl Default for ListBackupOperationsResponse
Source§fn default() -> ListBackupOperationsResponse
fn default() -> ListBackupOperationsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListBackupOperationsResponse
impl PartialEq for ListBackupOperationsResponse
Source§fn eq(&self, other: &ListBackupOperationsResponse) -> bool
fn eq(&self, other: &ListBackupOperationsResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListBackupOperationsResponse
Auto Trait Implementations§
impl Freeze for ListBackupOperationsResponse
impl RefUnwindSafe for ListBackupOperationsResponse
impl Send for ListBackupOperationsResponse
impl Sync for ListBackupOperationsResponse
impl Unpin for ListBackupOperationsResponse
impl UnwindSafe for ListBackupOperationsResponse
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