#[non_exhaustive]pub enum NumberFormatUnit {
NumberFormatUnitCanonical(Box<NumberFormatUnitCanonical>),
NumberFormatUnitCustom(Box<NumberFormatUnitCustom>),
UnparsedObject(UnparsedObject),
}
Expand description
Number format unit.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NumberFormatUnitCanonical(Box<NumberFormatUnitCanonical>)
NumberFormatUnitCustom(Box<NumberFormatUnitCustom>)
UnparsedObject(UnparsedObject)
Trait Implementations§
Source§impl Clone for NumberFormatUnit
impl Clone for NumberFormatUnit
Source§fn clone(&self) -> NumberFormatUnit
fn clone(&self) -> NumberFormatUnit
Returns a duplicate 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 NumberFormatUnit
impl Debug for NumberFormatUnit
Source§impl<'de> Deserialize<'de> for NumberFormatUnit
impl<'de> Deserialize<'de> for NumberFormatUnit
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 PartialEq for NumberFormatUnit
impl PartialEq for NumberFormatUnit
Source§impl Serialize for NumberFormatUnit
impl Serialize for NumberFormatUnit
impl StructuralPartialEq for NumberFormatUnit
Auto Trait Implementations§
impl Freeze for NumberFormatUnit
impl RefUnwindSafe for NumberFormatUnit
impl Send for NumberFormatUnit
impl Sync for NumberFormatUnit
impl Unpin for NumberFormatUnit
impl UnwindSafe for NumberFormatUnit
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