#[non_exhaustive]pub struct SqlBackupRunsListRequest {
pub instance: String,
pub max_results: i32,
pub page_token: String,
pub project: String,
/* private fields */
}
Expand description
Backup runs list request.
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.instance: String
Cloud SQL instance ID, or “-” for all instances. This does not include the project ID.
max_results: i32
Maximum number of backup runs per response.
page_token: String
A previously-returned page token representing part of the larger set of results to view.
project: String
Project ID of the project that contains the instance.
Implementations§
Source§impl SqlBackupRunsListRequest
impl SqlBackupRunsListRequest
pub fn new() -> Self
Sourcepub fn set_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_instance<T: Into<String>>(self, v: T) -> Self
Sets the value of instance.
Sourcepub fn set_max_results<T: Into<i32>>(self, v: T) -> Self
pub fn set_max_results<T: Into<i32>>(self, v: T) -> Self
Sets the value of max_results.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_project<T: Into<String>>(self, v: T) -> Self
pub fn set_project<T: Into<String>>(self, v: T) -> Self
Sets the value of project.
Trait Implementations§
Source§impl Clone for SqlBackupRunsListRequest
impl Clone for SqlBackupRunsListRequest
Source§fn clone(&self) -> SqlBackupRunsListRequest
fn clone(&self) -> SqlBackupRunsListRequest
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 SqlBackupRunsListRequest
impl Debug for SqlBackupRunsListRequest
Source§impl Default for SqlBackupRunsListRequest
impl Default for SqlBackupRunsListRequest
Source§fn default() -> SqlBackupRunsListRequest
fn default() -> SqlBackupRunsListRequest
Returns the “default value” for a type. Read more
Source§impl Message for SqlBackupRunsListRequest
impl Message for SqlBackupRunsListRequest
Source§impl PartialEq for SqlBackupRunsListRequest
impl PartialEq for SqlBackupRunsListRequest
impl StructuralPartialEq for SqlBackupRunsListRequest
Auto Trait Implementations§
impl Freeze for SqlBackupRunsListRequest
impl RefUnwindSafe for SqlBackupRunsListRequest
impl Send for SqlBackupRunsListRequest
impl Sync for SqlBackupRunsListRequest
impl Unpin for SqlBackupRunsListRequest
impl UnwindSafe for SqlBackupRunsListRequest
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