pub struct Zpool {
pub guid: u64,
pub name: String,
pub health: String,
pub state: String,
pub size: u64,
pub vdev: VDev,
pub props: Vec<ZProp>,
pub children: OrdSet<Device>,
pub mount: Option<Mount>,
}
Fields§
§guid: u64
§name: String
§health: String
§state: String
§size: u64
§vdev: VDev
§props: Vec<ZProp>
§children: OrdSet<Device>
§mount: Option<Mount>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Zpool
impl<'de> Deserialize<'de> for Zpool
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 Ord for Zpool
impl Ord for Zpool
Source§impl PartialOrd for Zpool
impl PartialOrd for Zpool
impl Eq for Zpool
impl StructuralPartialEq for Zpool
Auto Trait Implementations§
impl Freeze for Zpool
impl RefUnwindSafe for Zpool
impl Send for Zpool
impl Sync for Zpool
impl Unpin for Zpool
impl UnwindSafe for Zpool
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