Struct google_compute1::api::PreservedStatePreservedDisk
source · pub struct PreservedStatePreservedDisk {
pub auto_delete: Option<String>,
pub mode: Option<String>,
pub source: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_delete: Option<String>
These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.
mode: Option<String>
The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
source: Option<String>
The URL of the disk resource that is stateful and should be attached to the VM instance.
Trait Implementations§
source§impl Clone for PreservedStatePreservedDisk
impl Clone for PreservedStatePreservedDisk
source§fn clone(&self) -> PreservedStatePreservedDisk
fn clone(&self) -> PreservedStatePreservedDisk
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 PreservedStatePreservedDisk
impl Debug for PreservedStatePreservedDisk
source§impl Default for PreservedStatePreservedDisk
impl Default for PreservedStatePreservedDisk
source§fn default() -> PreservedStatePreservedDisk
fn default() -> PreservedStatePreservedDisk
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PreservedStatePreservedDisk
impl<'de> Deserialize<'de> for PreservedStatePreservedDisk
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
impl Part for PreservedStatePreservedDisk
Auto Trait Implementations§
impl RefUnwindSafe for PreservedStatePreservedDisk
impl Send for PreservedStatePreservedDisk
impl Sync for PreservedStatePreservedDisk
impl Unpin for PreservedStatePreservedDisk
impl UnwindSafe for PreservedStatePreservedDisk
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