#[non_exhaustive]pub struct PauseMigrationRequest {
pub migrating_vm: String,
/* private fields */
}Expand description
Request message for ‘PauseMigration’ 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.migrating_vm: StringRequired. The name of the MigratingVm.
Implementations§
Source§impl PauseMigrationRequest
impl PauseMigrationRequest
Sourcepub fn set_migrating_vm<T: Into<String>>(self, v: T) -> Self
pub fn set_migrating_vm<T: Into<String>>(self, v: T) -> Self
Sets the value of migrating_vm.
§Example
ⓘ
let x = PauseMigrationRequest::new().set_migrating_vm(format!("projects/{project_id}/locations/{location_id}/sources/{source_id}/migratingVms/{migrating_vm_id}"));Trait Implementations§
Source§impl Clone for PauseMigrationRequest
impl Clone for PauseMigrationRequest
Source§fn clone(&self) -> PauseMigrationRequest
fn clone(&self) -> PauseMigrationRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PauseMigrationRequest
impl Debug for PauseMigrationRequest
Source§impl Default for PauseMigrationRequest
impl Default for PauseMigrationRequest
Source§fn default() -> PauseMigrationRequest
fn default() -> PauseMigrationRequest
Returns the “default value” for a type. Read more
Source§impl Message for PauseMigrationRequest
impl Message for PauseMigrationRequest
Source§impl PartialEq for PauseMigrationRequest
impl PartialEq for PauseMigrationRequest
Source§fn eq(&self, other: &PauseMigrationRequest) -> bool
fn eq(&self, other: &PauseMigrationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PauseMigrationRequest
Auto Trait Implementations§
impl Freeze for PauseMigrationRequest
impl RefUnwindSafe for PauseMigrationRequest
impl Send for PauseMigrationRequest
impl Sync for PauseMigrationRequest
impl Unpin for PauseMigrationRequest
impl UnsafeUnpin for PauseMigrationRequest
impl UnwindSafe for PauseMigrationRequest
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