Struct scaleway_api_rs::models::scaleway_instance_v1_volume::ScalewayInstanceV1Volume [−][src]
pub struct ScalewayInstanceV1Volume { pub id: Option<String>, pub name: Option<String>, pub export_uri: Option<String>, pub size: Option<f32>, pub volume_type: Option<VolumeType>, pub creation_date: Option<String>, pub modification_date: Option<String>, pub organization: Option<String>, pub project: Option<String>, pub server: Option<Box<InstanceV1ZonesZoneVolumesIdServer>>, pub state: Option<State>, pub zone: Option<String>, }
Fields
id: Option<String>
The volume unique ID
name: Option<String>
The volume name
export_uri: Option<String>
Show the volume NBD export URI
size: Option<f32>
The volume disk size (in bytes)
volume_type: Option<VolumeType>
The volume type
creation_date: Option<String>
The volume creation date
modification_date: Option<String>
The volume modification date
organization: Option<String>
The volume organization ID
project: Option<String>
The volume project ID
server: Option<Box<InstanceV1ZonesZoneVolumesIdServer>>
state: Option<State>
The volume state
zone: Option<String>
The zone in which is the volume
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ScalewayInstanceV1Volume
impl Send for ScalewayInstanceV1Volume
impl Sync for ScalewayInstanceV1Volume
impl Unpin for ScalewayInstanceV1Volume
impl UnwindSafe for ScalewayInstanceV1Volume
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more