#[non_exhaustive]pub struct MoveInstanceRequest {
pub name: String,
pub target_config: String,
/* private fields */
}
Expand description
The request for MoveInstance.
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: String
Required. The instance to move.
Values are of the form projects/<project>/instances/<instance>
.
target_config: String
Required. The target instance configuration where to move the instance.
Values are of the form projects/<project>/instanceConfigs/<config>
.
Implementations§
Trait Implementations§
Source§impl Clone for MoveInstanceRequest
impl Clone for MoveInstanceRequest
Source§fn clone(&self) -> MoveInstanceRequest
fn clone(&self) -> MoveInstanceRequest
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 MoveInstanceRequest
impl Debug for MoveInstanceRequest
Source§impl Default for MoveInstanceRequest
impl Default for MoveInstanceRequest
Source§fn default() -> MoveInstanceRequest
fn default() -> MoveInstanceRequest
Returns the “default value” for a type. Read more
Source§impl Message for MoveInstanceRequest
impl Message for MoveInstanceRequest
Source§impl PartialEq for MoveInstanceRequest
impl PartialEq for MoveInstanceRequest
impl StructuralPartialEq for MoveInstanceRequest
Auto Trait Implementations§
impl Freeze for MoveInstanceRequest
impl RefUnwindSafe for MoveInstanceRequest
impl Send for MoveInstanceRequest
impl Sync for MoveInstanceRequest
impl Unpin for MoveInstanceRequest
impl UnwindSafe for MoveInstanceRequest
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