pub struct Volume {Show 16 fields
pub id: String,
pub crn: String,
pub name: String,
pub description: Option<String>,
pub tags: Tags,
pub volume_type: VolumeTypeName,
pub size_gb: i64,
pub performance: VolumePerformance,
pub included_io_limits: IncludedIOLimits,
pub status: VolumeStatus,
pub bootable: bool,
pub faults: Vec<Fault>,
pub created_at: String,
pub updated_at: String,
pub source_image: VolumeSourceImage,
pub source_snapshot: VolumeSourceSnapshot,
}Fields§
§id: String§crn: StringCloud Resource Name (name-based, region-scoped).
name: StringResource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
description: Option<String>§volume_type: VolumeTypeName§size_gb: i64§performance: VolumePerformance§included_io_limits: IncludedIOLimits§status: VolumeStatus§bootable: boolSet at create time when the volume is provisioned from a bootable image. Immutable after creation.
faults: Vec<Fault>Active faults, newest first. Empty when healthy. Status is error if and only if an active error-severity fault exists. Resolved history is retained internally.
created_at: String§updated_at: String§source_image: VolumeSourceImageSource image identity, or null when this volume was not created from an image.
source_snapshot: VolumeSourceSnapshotSource snapshot identity, or null when not created from a snapshot.
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 UnsafeUnpin 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