[][src]Struct zvariant::OwnedObjectPath

pub struct OwnedObjectPath(_);

Owned ObjectPath

Implementations

impl OwnedObjectPath[src]

pub fn into_inner(self) -> ObjectPath<'static>[src]

Methods from Deref<Target = ObjectPath<'static>>

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

The object path as a string.

pub fn as_bytes(&self) -> &[u8][src]

The object path as bytes.

pub fn len(&self) -> usize[src]

the object path's length.

pub fn is_empty(&self) -> bool[src]

if the object path is empty.

pub fn to_owned(&self) -> ObjectPath<'static>[src]

Creates an owned clone of self.

Trait Implementations

impl Clone for OwnedObjectPath[src]

impl Debug for OwnedObjectPath[src]

impl Deref for OwnedObjectPath[src]

type Target = ObjectPath<'static>

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for OwnedObjectPath[src]

impl Eq for OwnedObjectPath[src]

impl<'a> From<ObjectPath<'a>> for OwnedObjectPath[src]

impl From<OwnedObjectPath> for ObjectPath<'static>[src]

impl Hash for OwnedObjectPath[src]

impl PartialEq<OwnedObjectPath> for OwnedObjectPath[src]

impl Serialize for OwnedObjectPath[src]

impl StructuralEq for OwnedObjectPath[src]

impl StructuralPartialEq for OwnedObjectPath[src]

impl Type for OwnedObjectPath[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.