Struct qapi_qmp::StringWrapper
source · #[repr(transparent)]pub struct StringWrapper {
pub data: String,
}
Fields§
§data: String
Implementations§
source§impl StringWrapper
impl StringWrapper
pub fn into_inner(self) -> String
Trait Implementations§
source§impl AsRef<String> for StringWrapper
impl AsRef<String> for StringWrapper
source§impl Clone for StringWrapper
impl Clone for StringWrapper
source§fn clone(&self) -> StringWrapper
fn clone(&self) -> StringWrapper
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 StringWrapper
impl Debug for StringWrapper
source§impl Deref for StringWrapper
impl Deref for StringWrapper
source§impl<'de> Deserialize<'de> for StringWrapper
impl<'de> Deserialize<'de> for StringWrapper
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 From<StringWrapper> for SocketAddressLegacy
impl From<StringWrapper> for SocketAddressLegacy
source§fn from(val: StringWrapper) -> Self
fn from(val: StringWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StringWrapper
impl Send for StringWrapper
impl Sync for StringWrapper
impl Unpin for StringWrapper
impl UnwindSafe for StringWrapper
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