#[non_exhaustive]pub struct RenameVolumeRequest {
pub name: String,
pub new_volume_id: String,
/* private fields */
}Expand description
Message requesting rename of a server.
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 field is used to identify the volume.
Format: projects/{project}/locations/{location}/volumes/{volume}
new_volume_id: StringRequired. The new id of the volume.
Implementations§
Trait Implementations§
Source§impl Clone for RenameVolumeRequest
impl Clone for RenameVolumeRequest
Source§fn clone(&self) -> RenameVolumeRequest
fn clone(&self) -> RenameVolumeRequest
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 RenameVolumeRequest
impl Debug for RenameVolumeRequest
Source§impl Default for RenameVolumeRequest
impl Default for RenameVolumeRequest
Source§fn default() -> RenameVolumeRequest
fn default() -> RenameVolumeRequest
Returns the “default value” for a type. Read more
Source§impl Message for RenameVolumeRequest
impl Message for RenameVolumeRequest
Source§impl PartialEq for RenameVolumeRequest
impl PartialEq for RenameVolumeRequest
impl StructuralPartialEq for RenameVolumeRequest
Auto Trait Implementations§
impl Freeze for RenameVolumeRequest
impl RefUnwindSafe for RenameVolumeRequest
impl Send for RenameVolumeRequest
impl Sync for RenameVolumeRequest
impl Unpin for RenameVolumeRequest
impl UnwindSafe for RenameVolumeRequest
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