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