Struct google_compute1::api::InstancesSetNameRequest
source · pub struct InstancesSetNameRequest {
pub current_name: Option<String>,
pub name: Option<String>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- set name instances (request)
Fields§
§current_name: Option<String>
The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
name: Option<String>
The name to be applied to the instance. Needs to be RFC 1035 compliant.
Trait Implementations§
source§impl Clone for InstancesSetNameRequest
impl Clone for InstancesSetNameRequest
source§fn clone(&self) -> InstancesSetNameRequest
fn clone(&self) -> InstancesSetNameRequest
Returns a copy 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 InstancesSetNameRequest
impl Debug for InstancesSetNameRequest
source§impl Default for InstancesSetNameRequest
impl Default for InstancesSetNameRequest
source§fn default() -> InstancesSetNameRequest
fn default() -> InstancesSetNameRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstancesSetNameRequest
impl<'de> Deserialize<'de> for InstancesSetNameRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for InstancesSetNameRequest
impl Serialize for InstancesSetNameRequest
impl RequestValue for InstancesSetNameRequest
Auto Trait Implementations§
impl RefUnwindSafe for InstancesSetNameRequest
impl Send for InstancesSetNameRequest
impl Sync for InstancesSetNameRequest
impl Unpin for InstancesSetNameRequest
impl UnwindSafe for InstancesSetNameRequest
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