pub struct VirtioInfo {
pub name: String,
pub path: String,
}
Fields§
§name: String
§path: String
Trait Implementations§
Source§impl Clone for VirtioInfo
impl Clone for VirtioInfo
Source§fn clone(&self) -> VirtioInfo
fn clone(&self) -> VirtioInfo
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 VirtioInfo
impl Debug for VirtioInfo
Source§impl<'de> Deserialize<'de> for VirtioInfo
impl<'de> Deserialize<'de> for VirtioInfo
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 VirtioInfo
impl RefUnwindSafe for VirtioInfo
impl Send for VirtioInfo
impl Sync for VirtioInfo
impl Unpin for VirtioInfo
impl UnwindSafe for VirtioInfo
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