pub struct Volume {
pub filesystem_type: Option<String>,
pub id: u32,
pub kind: String,
pub label: String,
pub resource_uri: String,
pub size: Option<i64>,
pub status: Option<String>,
pub storage_resource: Option<String>,
pub usable_for_lustre: bool,
pub volume_nodes: Vec<VolumeNode>,
}
Expand description
A Volume record from api/volume/
Fields§
§filesystem_type: Option<String>
§id: u32
§kind: String
§label: String
§resource_uri: String
§size: Option<i64>
§status: Option<String>
§storage_resource: Option<String>
§usable_for_lustre: bool
§volume_nodes: Vec<VolumeNode>
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
Source§impl EndpointName for Volume
impl EndpointName for Volume
fn endpoint_name() -> &'static str
impl StructuralPartialEq for Volume
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