Struct icu_datetime::provider::calendar::SkeletonV1
source · pub struct SkeletonV1(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 SkeletonV1
impl Clone for SkeletonV1
source§fn clone(&self) -> SkeletonV1
fn clone(&self) -> SkeletonV1
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 SkeletonV1
impl Debug for SkeletonV1
source§impl<'de> Deserialize<'de> for SkeletonV1
impl<'de> Deserialize<'de> for SkeletonV1
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for SkeletonV1
impl Ord for SkeletonV1
source§fn cmp(&self, other: &SkeletonV1) -> Ordering
fn cmp(&self, other: &SkeletonV1) -> 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 SkeletonV1
impl PartialEq for SkeletonV1
source§fn eq(&self, other: &SkeletonV1) -> bool
fn eq(&self, other: &SkeletonV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SkeletonV1
impl PartialOrd for SkeletonV1
source§fn partial_cmp(&self, other: &SkeletonV1) -> Option<Ordering>
fn partial_cmp(&self, other: &SkeletonV1) -> 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 SkeletonV1
impl Serialize for SkeletonV1
source§impl TryFrom<&str> for SkeletonV1
impl TryFrom<&str> for SkeletonV1
impl Eq for SkeletonV1
impl StructuralEq for SkeletonV1
impl StructuralPartialEq for SkeletonV1
Auto Trait Implementations§
impl RefUnwindSafe for SkeletonV1
impl Send for SkeletonV1
impl Sync for SkeletonV1
impl Unpin for SkeletonV1
impl UnwindSafe for SkeletonV1
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