pub struct SkeletonData(pub Skeleton);
Expand description
This struct is a public wrapper around the internal Skeleton
struct.
This allows access to the serialization and deserialization capabilities, without exposing the internals of the skeleton machinery.
The Skeleton
is an “exotic type” in the serialization process, and handles its own
custom serialization practices.
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Tuple Fields§
§0: Skeleton
Trait Implementations§
Source§impl Clone for SkeletonData
impl Clone for SkeletonData
Source§fn clone(&self) -> SkeletonData
fn clone(&self) -> SkeletonData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SkeletonData
impl Debug for SkeletonData
Source§impl Ord for SkeletonData
impl Ord for SkeletonData
Source§fn cmp(&self, other: &SkeletonData) -> Ordering
fn cmp(&self, other: &SkeletonData) -> 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 SkeletonData
impl PartialEq for SkeletonData
Source§impl PartialOrd for SkeletonData
impl PartialOrd for SkeletonData
Source§impl TryFrom<&str> for SkeletonData
impl TryFrom<&str> for SkeletonData
impl Eq for SkeletonData
impl StructuralPartialEq for SkeletonData
Auto Trait Implementations§
impl Freeze for SkeletonData
impl RefUnwindSafe for SkeletonData
impl Send for SkeletonData
impl Sync for SkeletonData
impl Unpin for SkeletonData
impl UnwindSafe for SkeletonData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more