Struct google_compute1::ImageRawDisk
source · pub struct ImageRawDisk {
pub container_type: Option<String>,
pub source: Option<String>,
pub sha1_checksum: Option<String>,
}Expand description
The parameters of the raw disk image.
This type is not used in any activity, and only used as part of another schema.
Fields§
§container_type: Option<String>The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
source: Option<String>The full Google Cloud Storage URL where the disk image is stored. You must provide either this property or the sourceDisk property but not both.
sha1_checksum: Option<String>An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created.
Trait Implementations§
source§impl Clone for ImageRawDisk
impl Clone for ImageRawDisk
source§fn clone(&self) -> ImageRawDisk
fn clone(&self) -> ImageRawDisk
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 ImageRawDisk
impl Debug for ImageRawDisk
source§impl Default for ImageRawDisk
impl Default for ImageRawDisk
source§fn default() -> ImageRawDisk
fn default() -> ImageRawDisk
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImageRawDisk
impl<'de> Deserialize<'de> for ImageRawDisk
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 ImageRawDisk
impl Serialize for ImageRawDisk
impl NestedType for ImageRawDisk
impl Part for ImageRawDisk
Auto Trait Implementations§
impl Freeze for ImageRawDisk
impl RefUnwindSafe for ImageRawDisk
impl Send for ImageRawDisk
impl Sync for ImageRawDisk
impl Unpin for ImageRawDisk
impl UnwindSafe for ImageRawDisk
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more