#[non_exhaustive]pub struct StartInstanceRequest {
pub name: String,
pub validate_only: bool,
pub etag: String,
/* private fields */
}Expand description
Request message for starting an Instance.
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.name: StringRequired. The name of the Instance to stop.
Format:
projects/{project}/locations/{location}/instances/{instance},
where {project} can be project id or number.
validate_only: boolOptional. Indicates that the request should be validated without actually stopping any resources.
etag: StringOptional. A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.
Implementations§
Trait Implementations§
Source§impl Clone for StartInstanceRequest
impl Clone for StartInstanceRequest
Source§fn clone(&self) -> StartInstanceRequest
fn clone(&self) -> StartInstanceRequest
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 StartInstanceRequest
impl Debug for StartInstanceRequest
Source§impl Default for StartInstanceRequest
impl Default for StartInstanceRequest
Source§fn default() -> StartInstanceRequest
fn default() -> StartInstanceRequest
Returns the “default value” for a type. Read more
Source§impl Message for StartInstanceRequest
impl Message for StartInstanceRequest
Source§impl PartialEq for StartInstanceRequest
impl PartialEq for StartInstanceRequest
impl StructuralPartialEq for StartInstanceRequest
Auto Trait Implementations§
impl Freeze for StartInstanceRequest
impl RefUnwindSafe for StartInstanceRequest
impl Send for StartInstanceRequest
impl Sync for StartInstanceRequest
impl Unpin for StartInstanceRequest
impl UnwindSafe for StartInstanceRequest
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