[][src]Struct zvariant::Signature

pub struct Signature(_);

String that identifies the type of an encoded value.

Methods

impl Signature[src]

pub fn new(signature: impl Into<Signature>) -> Self[src]

Create a new Signature.

pub fn as_str(&self) -> &str[src]

The signature as a string.

Trait Implementations

impl Basic for Signature[src]

impl Clone for Signature[src]

impl Debug for Signature[src]

impl Decode for Signature[src]

impl Deref for Signature[src]

type Target = str

The resulting type after dereferencing.

impl Encode for Signature[src]

impl Eq for Signature[src]

impl<'_> From<&'_ str> for Signature[src]

impl From<String> for Signature[src]

impl Hash for Signature[src]

impl<'_> PartialEq<&'_ str> for Signature[src]

impl PartialEq<Signature> for Signature[src]

impl SimpleDecode for Signature[src]

impl StructuralEq for Signature[src]

impl StructuralPartialEq for Signature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.