pub struct Pool {
pub name: String,
pub guid: u64,
pub health: String,
pub hostname: String,
pub hostid: Option<u64>,
pub state: String,
pub readonly: bool,
pub size: String,
pub vdev: VDev,
pub props: Vec<ZProp>,
pub datasets: Vec<Dataset>,
}
Expand description
A Pool at a point in time
Fields§
§name: String
§guid: u64
§health: String
§hostname: String
§hostid: Option<u64>
§state: String
§readonly: bool
§size: String
§vdev: VDev
§props: Vec<ZProp>
§datasets: Vec<Dataset>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pool
impl<'de> Deserialize<'de> for Pool
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
impl StructuralPartialEq for Pool
Auto Trait Implementations§
impl Freeze for Pool
impl RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnwindSafe for Pool
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