pub struct Raid {
pub devices: Option<Vec<String>>,
pub level: Option<String>,
pub name: String,
pub options: Option<Vec<String>>,
pub spares: Option<i64>,
}Fields§
§devices: Option<Vec<String>>§level: Option<String>§name: String§options: Option<Vec<String>>§spares: Option<i64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Raid
impl<'de> Deserialize<'de> for Raid
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 Raid
Auto Trait Implementations§
impl Freeze for Raid
impl RefUnwindSafe for Raid
impl Send for Raid
impl Sync for Raid
impl Unpin for Raid
impl UnsafeUnpin for Raid
impl UnwindSafe for Raid
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