[][src]Struct libzfs_types::Pool

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>,
}

A Pool at a point in time

Fields

name: Stringguid: u64health: Stringhostname: Stringhostid: Option<u64>state: Stringreadonly: boolsize: Stringvdev: VDevprops: Vec<ZProp>datasets: Vec<Dataset>

Trait Implementations

impl Clone for Pool[src]

impl Debug for Pool[src]

impl<'de> Deserialize<'de> for Pool[src]

impl PartialEq<Pool> for Pool[src]

impl Serialize for Pool[src]

impl StructuralPartialEq for Pool[src]

Auto Trait Implementations

impl RefUnwindSafe for Pool

impl Send for Pool

impl Sync for Pool

impl Unpin for Pool

impl UnwindSafe for Pool

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.