[−][src]Struct zvariant::OwnedSignature
Owned Signature
Implementations
impl OwnedSignature
[src]
pub fn into_inner(self) -> Signature<'static>
[src]
Methods from Deref<Target = Signature<'static>>
pub fn as_str(&self) -> &str
[src]
The signature as a string.
pub fn as_bytes(&self) -> &[u8]
[src]
The signature bytes.
pub fn len(&self) -> usize
[src]
the signature's length.
pub fn is_empty(&self) -> bool
[src]
if the signature is empty.
pub fn to_owned(&self) -> Signature<'static>
[src]
Creates an owned clone of self
.
Trait Implementations
impl Clone for OwnedSignature
[src]
fn clone(&self) -> OwnedSignature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OwnedSignature
[src]
impl Deref for OwnedSignature
[src]
type Target = Signature<'static>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'de> Deserialize<'de> for OwnedSignature
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl From<OwnedSignature> for Signature<'static>
[src]
fn from(o: OwnedSignature) -> Self
[src]
impl<'a> From<Signature<'a>> for OwnedSignature
[src]
impl PartialEq<OwnedSignature> for OwnedSignature
[src]
fn eq(&self, other: &OwnedSignature) -> bool
[src]
fn ne(&self, other: &OwnedSignature) -> bool
[src]
impl Serialize for OwnedSignature
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for OwnedSignature
[src]
impl Type for OwnedSignature
[src]
Auto Trait Implementations
impl RefUnwindSafe for OwnedSignature
impl Send for OwnedSignature
impl Sync for OwnedSignature
impl Unpin for OwnedSignature
impl UnwindSafe for OwnedSignature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,