pub struct VolumeSummary {
pub id: String,
pub name: String,
pub capacity_bytes: Option<u64>,
pub raid_type: Option<String>,
pub status: HealthStatus,
pub drive_count: usize,
}Fields§
§id: String§name: String§capacity_bytes: Option<u64>§raid_type: Option<String>§status: HealthStatus§drive_count: usizeTrait Implementations§
Source§impl Clone for VolumeSummary
impl Clone for VolumeSummary
Source§fn clone(&self) -> VolumeSummary
fn clone(&self) -> VolumeSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VolumeSummary
impl Debug for VolumeSummary
Source§impl<'de> Deserialize<'de> for VolumeSummary
impl<'de> Deserialize<'de> for VolumeSummary
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 VolumeSummary
impl RefUnwindSafe for VolumeSummary
impl Send for VolumeSummary
impl Sync for VolumeSummary
impl Unpin for VolumeSummary
impl UnsafeUnpin for VolumeSummary
impl UnwindSafe for VolumeSummary
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