#[non_exhaustive]pub struct ListBackupCollectionsResponse {
pub backup_collections: Vec<BackupCollection>,
pub next_page_token: String,
pub unreachable: Vec<String>,
/* private fields */
}Expand description
Response for [ListBackupCollections].
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.backup_collections: Vec<BackupCollection>A list of backupCollections in the project.
If the location_id in the parent field of the request is “-”, all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the name field
set to a value of the form
projects/{project_id}/locations/{location_id}/backupCollections/- and the
status field set to ERROR and status_message field set to “location not
available for ListBackupCollections”.
next_page_token: StringToken to retrieve the next page of results, or empty if there are no more results in the list.
unreachable: Vec<String>Locations that could not be reached.
Implementations§
Source§impl ListBackupCollectionsResponse
impl ListBackupCollectionsResponse
pub fn new() -> Self
Sourcepub fn set_backup_collections<T, V>(self, v: T) -> Self
pub fn set_backup_collections<T, V>(self, v: T) -> Self
Sets the value of backup_collections.
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_unreachable<T, V>(self, v: T) -> Self
pub fn set_unreachable<T, V>(self, v: T) -> Self
Sets the value of unreachable.
Trait Implementations§
Source§impl Clone for ListBackupCollectionsResponse
impl Clone for ListBackupCollectionsResponse
Source§fn clone(&self) -> ListBackupCollectionsResponse
fn clone(&self) -> ListBackupCollectionsResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ListBackupCollectionsResponse
impl Default for ListBackupCollectionsResponse
Source§fn default() -> ListBackupCollectionsResponse
fn default() -> ListBackupCollectionsResponse
Source§impl PartialEq for ListBackupCollectionsResponse
impl PartialEq for ListBackupCollectionsResponse
Source§fn eq(&self, other: &ListBackupCollectionsResponse) -> bool
fn eq(&self, other: &ListBackupCollectionsResponse) -> bool
self and other values to be equal, and is used by ==.