pub struct GetOutput {
pub action: Option<String>,
pub children: Vec<ChildrenGetOutputChildrenItems>,
pub errors: String,
pub name: String,
pub scan: Option<String>,
pub state: String,
pub status: Option<String>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§action: Option<String>
Information about the recommended action to fix the state.
children: Vec<ChildrenGetOutputChildrenItems>
The pool configuration information, including the vdevs for each section (e.g. spares, cache), may be nested.
errors: String
Information about the errors on the zpool.
name: String
The name of the zpool.
scan: Option<String>
Information about the last/current scrub.
state: String
The state of the zpool.
status: Option<String>
Information about the state of the zpool.
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOutput
impl<'de> Deserialize<'de> for GetOutput
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 GetOutput
impl RefUnwindSafe for GetOutput
impl Send for GetOutput
impl Sync for GetOutput
impl Unpin for GetOutput
impl UnwindSafe for GetOutput
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