Struct google_compute1::api::SourceInstanceParams
source · pub struct SourceInstanceParams {
pub disk_configs: Option<Vec<DiskInstantiationConfig>>,
}
Expand description
A specification of the parameters to use when creating the instance template from a source instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disk_configs: Option<Vec<DiskInstantiationConfig>>
Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
Trait Implementations§
source§impl Clone for SourceInstanceParams
impl Clone for SourceInstanceParams
source§fn clone(&self) -> SourceInstanceParams
fn clone(&self) -> SourceInstanceParams
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 SourceInstanceParams
impl Debug for SourceInstanceParams
source§impl Default for SourceInstanceParams
impl Default for SourceInstanceParams
source§fn default() -> SourceInstanceParams
fn default() -> SourceInstanceParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SourceInstanceParams
impl<'de> Deserialize<'de> for SourceInstanceParams
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 SourceInstanceParams
impl Serialize for SourceInstanceParams
impl Part for SourceInstanceParams
Auto Trait Implementations§
impl RefUnwindSafe for SourceInstanceParams
impl Send for SourceInstanceParams
impl Sync for SourceInstanceParams
impl Unpin for SourceInstanceParams
impl UnwindSafe for SourceInstanceParams
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