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