Struct qapi_qmp::StringWrapper
source · [−]#[repr(transparent)]pub struct StringWrapper {
pub data: String,
}Fields
data: StringImplementations
sourceimpl StringWrapper
impl StringWrapper
pub fn into_inner(self) -> String
Trait Implementations
sourceimpl AsRef<String> for StringWrapper
impl AsRef<String> for StringWrapper
sourceimpl Clone for StringWrapper
impl Clone for StringWrapper
sourcefn clone(&self) -> StringWrapper
fn clone(&self) -> StringWrapper
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for StringWrapper
impl Debug for StringWrapper
sourceimpl Deref for StringWrapper
impl Deref for StringWrapper
sourceimpl<'de> Deserialize<'de> for StringWrapper
impl<'de> Deserialize<'de> for StringWrapper
sourcefn 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
sourceimpl From<StringWrapper> for SocketAddressLegacy
impl From<StringWrapper> for SocketAddressLegacy
sourcefn from(val: StringWrapper) -> Self
fn from(val: StringWrapper) -> Self
Converts to this type from the input type.
sourceimpl<T: Into<String>> From<T> for StringWrapper
impl<T: Into<String>> From<T> for StringWrapper
sourceimpl Serialize for StringWrapper
impl Serialize for StringWrapper
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more