[−][src]Struct zvariant::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]
pub fn clone(&self) -> OwnedObjectPath
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OwnedObjectPath
[src]
impl Deref for OwnedObjectPath
[src]
type Target = ObjectPath<'static>
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl<'de> Deserialize<'de> for OwnedObjectPath
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for OwnedObjectPath
[src]
impl<'a> From<ObjectPath<'a>> for OwnedObjectPath
[src]
pub fn from(o: ObjectPath<'a>) -> Self
[src]
impl From<OwnedObjectPath> for ObjectPath<'static>
[src]
pub fn from(o: OwnedObjectPath) -> Self
[src]
impl Hash for OwnedObjectPath
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<OwnedObjectPath> for OwnedObjectPath
[src]
pub fn eq(&self, other: &OwnedObjectPath) -> bool
[src]
pub fn ne(&self, other: &OwnedObjectPath) -> bool
[src]
impl Serialize for OwnedObjectPath
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for OwnedObjectPath
[src]
impl StructuralPartialEq for OwnedObjectPath
[src]
impl Type for OwnedObjectPath
[src]
Auto Trait Implementations
impl RefUnwindSafe for OwnedObjectPath
[src]
impl Send for OwnedObjectPath
[src]
impl Sync for OwnedObjectPath
[src]
impl Unpin for OwnedObjectPath
[src]
impl UnwindSafe for OwnedObjectPath
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,