pub struct VolumeGroup {
pub name: String,
pub uuid: String,
pub size: u64,
pub children: OrdSet<Device>,
}
Fields§
§name: String
§uuid: String
§size: u64
§children: OrdSet<Device>
Trait Implementations§
Source§impl Clone for VolumeGroup
impl Clone for VolumeGroup
Source§fn clone(&self) -> VolumeGroup
fn clone(&self) -> VolumeGroup
Returns a duplicate of the value. Read more
1.0.0 · 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 VolumeGroup
impl Debug for VolumeGroup
Source§impl<'de> Deserialize<'de> for VolumeGroup
impl<'de> Deserialize<'de> for VolumeGroup
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 Hash for VolumeGroup
impl Hash for VolumeGroup
Source§impl Ord for VolumeGroup
impl Ord for VolumeGroup
Source§fn cmp(&self, other: &VolumeGroup) -> Ordering
fn cmp(&self, other: &VolumeGroup) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VolumeGroup
impl PartialEq for VolumeGroup
Source§impl PartialOrd for VolumeGroup
impl PartialOrd for VolumeGroup
Source§impl Serialize for VolumeGroup
impl Serialize for VolumeGroup
impl Eq for VolumeGroup
impl StructuralPartialEq for VolumeGroup
Auto Trait Implementations§
impl Freeze for VolumeGroup
impl RefUnwindSafe for VolumeGroup
impl Send for VolumeGroup
impl Sync for VolumeGroup
impl Unpin for VolumeGroup
impl UnwindSafe for VolumeGroup
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