#[non_exhaustive]pub struct SqlOperationsListRequest {
pub instance: String,
pub max_results: u32,
pub page_token: String,
pub project: String,
/* private fields */
}
Expand description
Operations 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. This does not include the project ID.
max_results: u32
Maximum number of operations 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 SqlOperationsListRequest
impl SqlOperationsListRequest
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<u32>>(self, v: T) -> Self
pub fn set_max_results<T: Into<u32>>(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 SqlOperationsListRequest
impl Clone for SqlOperationsListRequest
Source§fn clone(&self) -> SqlOperationsListRequest
fn clone(&self) -> SqlOperationsListRequest
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 SqlOperationsListRequest
impl Debug for SqlOperationsListRequest
Source§impl Default for SqlOperationsListRequest
impl Default for SqlOperationsListRequest
Source§fn default() -> SqlOperationsListRequest
fn default() -> SqlOperationsListRequest
Returns the “default value” for a type. Read more
Source§impl Message for SqlOperationsListRequest
impl Message for SqlOperationsListRequest
Source§impl PartialEq for SqlOperationsListRequest
impl PartialEq for SqlOperationsListRequest
impl StructuralPartialEq for SqlOperationsListRequest
Auto Trait Implementations§
impl Freeze for SqlOperationsListRequest
impl RefUnwindSafe for SqlOperationsListRequest
impl Send for SqlOperationsListRequest
impl Sync for SqlOperationsListRequest
impl Unpin for SqlOperationsListRequest
impl UnwindSafe for SqlOperationsListRequest
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