Struct zvariant::OwnedStructure
source · pub struct OwnedStructure(pub Structure<'static>);
Expand description
Owned Structure
Tuple Fields§
§0: Structure<'static>
Trait Implementations§
source§impl Debug for OwnedStructure
impl Debug for OwnedStructure
source§impl<'de> DynamicDeserialize<'de> for OwnedStructure
impl<'de> DynamicDeserialize<'de> for OwnedStructure
§type Deserializer = OwnedStructureSeed
type Deserializer = OwnedStructureSeed
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(signature: S) -> Result<Self::Deserializer>
fn deserializer_for_signature<S>(signature: S) -> Result<Self::Deserializer>
Get a deserializer compatible with this signature.
source§impl DynamicType for OwnedStructure
impl DynamicType for OwnedStructure
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl Hash for OwnedStructure
impl Hash for OwnedStructure
source§impl Ord for OwnedStructure
impl Ord for OwnedStructure
source§fn cmp(&self, other: &OwnedStructure) -> Ordering
fn cmp(&self, other: &OwnedStructure) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OwnedStructure
impl PartialEq for OwnedStructure
source§fn eq(&self, other: &OwnedStructure) -> bool
fn eq(&self, other: &OwnedStructure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OwnedStructure
impl PartialOrd for OwnedStructure
source§fn partial_cmp(&self, other: &OwnedStructure) -> Option<Ordering>
fn partial_cmp(&self, other: &OwnedStructure) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for OwnedStructure
impl Serialize for OwnedStructure
impl Eq for OwnedStructure
impl StructuralPartialEq for OwnedStructure
Auto Trait Implementations§
impl Freeze for OwnedStructure
impl RefUnwindSafe for OwnedStructure
impl Send for OwnedStructure
impl Sync for OwnedStructure
impl Unpin for OwnedStructure
impl UnwindSafe for OwnedStructure
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more