pub struct Volume {Show 24 fields
pub migration_status: Option<String>,
pub attachments: Vec<VolumesAttachment>,
pub availability_zone: String,
pub os_vol_host_attr_host: Option<String>,
pub encrypted: bool,
pub replication_status: String,
pub snapshot_id: Option<String>,
pub id: String,
pub size: u64,
pub user_id: String,
pub os_vol_tenant_attr_tenant_id: String,
pub os_vol_mig_status_attr_migstat: Option<String>,
pub metadata: VolumesMetadatum,
pub status: String,
pub description: Option<String>,
pub multiattach: bool,
pub source_volid: Option<String>,
pub consistencygroup_id: Option<String>,
pub os_vol_mig_status_attr_name_id: Option<String>,
pub name: Option<String>,
pub bootable: String,
pub created_at: String,
pub volume_type: Option<String>,
pub volume_image_metadata: Option<VolumeImageMetadatum>,
}Fields§
§migration_status: Option<String>§attachments: Vec<VolumesAttachment>§availability_zone: String§os_vol_host_attr_host: Option<String>§encrypted: bool§replication_status: String§snapshot_id: Option<String>§id: String§size: u64§user_id: String§os_vol_tenant_attr_tenant_id: String§os_vol_mig_status_attr_migstat: Option<String>§metadata: VolumesMetadatum§status: String§description: Option<String>§multiattach: bool§source_volid: Option<String>§consistencygroup_id: Option<String>§os_vol_mig_status_attr_name_id: Option<String>§name: Option<String>§bootable: String§created_at: String§volume_type: Option<String>§volume_image_metadata: Option<VolumeImageMetadatum>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Volume
impl<'de> Deserialize<'de> for Volume
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
Auto Trait Implementations§
impl Freeze for Volume
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnwindSafe for Volume
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> 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