Struct qapi_qmp::ChardevHostdev
source · pub struct ChardevHostdev {
pub base: ChardevCommon,
pub device: String,
}
Fields§
§base: ChardevCommon
§device: String
Trait Implementations§
source§impl AsRef<ChardevHostdev> for ChardevHostdevWrapper
impl AsRef<ChardevHostdev> for ChardevHostdevWrapper
source§fn as_ref(&self) -> &ChardevHostdev
fn as_ref(&self) -> &ChardevHostdev
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ChardevHostdev
impl Clone for ChardevHostdev
source§fn clone(&self) -> ChardevHostdev
fn clone(&self) -> ChardevHostdev
Returns a copy 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 ChardevHostdev
impl Debug for ChardevHostdev
source§impl<'de> Deserialize<'de> for ChardevHostdev
impl<'de> Deserialize<'de> for ChardevHostdev
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 RefUnwindSafe for ChardevHostdev
impl Send for ChardevHostdev
impl Sync for ChardevHostdev
impl Unpin for ChardevHostdev
impl UnwindSafe for ChardevHostdev
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