pub struct PbsDevicesConfig {
pub description: Option<Value>,
pub items: String,
pub type: Option<Value>,
}Fields§
§description: Option<Value>§items: StringBlock device name (/sys/block/
type: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for PbsDevicesConfig
impl Clone for PbsDevicesConfig
Source§fn clone(&self) -> PbsDevicesConfig
fn clone(&self) -> PbsDevicesConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PbsDevicesConfig
impl Debug for PbsDevicesConfig
Source§impl Default for PbsDevicesConfig
impl Default for PbsDevicesConfig
Source§fn default() -> PbsDevicesConfig
fn default() -> PbsDevicesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PbsDevicesConfig
impl<'de> Deserialize<'de> for PbsDevicesConfig
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 PartialEq for PbsDevicesConfig
impl PartialEq for PbsDevicesConfig
Source§fn eq(&self, other: &PbsDevicesConfig) -> bool
fn eq(&self, other: &PbsDevicesConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PbsDevicesConfig
impl Serialize for PbsDevicesConfig
impl StructuralPartialEq for PbsDevicesConfig
Auto Trait Implementations§
impl Freeze for PbsDevicesConfig
impl RefUnwindSafe for PbsDevicesConfig
impl Send for PbsDevicesConfig
impl Sync for PbsDevicesConfig
impl Unpin for PbsDevicesConfig
impl UnsafeUnpin for PbsDevicesConfig
impl UnwindSafe for PbsDevicesConfig
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