#[non_exhaustive]pub struct SqlInstancesRestartRequest {
pub instance: String,
pub project: String,
/* private fields */
}
Expand description
Instance restart 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.
project: String
Project ID of the project that contains the instance to be restarted.
Implementations§
Trait Implementations§
Source§impl Clone for SqlInstancesRestartRequest
impl Clone for SqlInstancesRestartRequest
Source§fn clone(&self) -> SqlInstancesRestartRequest
fn clone(&self) -> SqlInstancesRestartRequest
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 SqlInstancesRestartRequest
impl Debug for SqlInstancesRestartRequest
Source§impl Default for SqlInstancesRestartRequest
impl Default for SqlInstancesRestartRequest
Source§fn default() -> SqlInstancesRestartRequest
fn default() -> SqlInstancesRestartRequest
Returns the “default value” for a type. Read more
Source§impl Message for SqlInstancesRestartRequest
impl Message for SqlInstancesRestartRequest
impl StructuralPartialEq for SqlInstancesRestartRequest
Auto Trait Implementations§
impl Freeze for SqlInstancesRestartRequest
impl RefUnwindSafe for SqlInstancesRestartRequest
impl Send for SqlInstancesRestartRequest
impl Sync for SqlInstancesRestartRequest
impl Unpin for SqlInstancesRestartRequest
impl UnwindSafe for SqlInstancesRestartRequest
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