pub struct BlockdevOptionsNVMe {
pub device: String,
pub namespace: i64,
}
Fields§
§device: String
§namespace: i64
Trait Implementations§
Source§impl Clone for BlockdevOptionsNVMe
impl Clone for BlockdevOptionsNVMe
Source§fn clone(&self) -> BlockdevOptionsNVMe
fn clone(&self) -> BlockdevOptionsNVMe
Returns a duplicate of the value. Read more
1.0.0 · 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 BlockdevOptionsNVMe
impl Debug for BlockdevOptionsNVMe
Source§impl<'de> Deserialize<'de> for BlockdevOptionsNVMe
impl<'de> Deserialize<'de> for BlockdevOptionsNVMe
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 BlockdevOptionsNVMe
impl RefUnwindSafe for BlockdevOptionsNVMe
impl Send for BlockdevOptionsNVMe
impl Sync for BlockdevOptionsNVMe
impl Unpin for BlockdevOptionsNVMe
impl UnwindSafe for BlockdevOptionsNVMe
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