#[non_exhaustive]pub enum DayFormat {
Numeric = 0,
TwoDigit = 1,
}Expand description
Day format for Intl.DateTimeFormat.
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.
Implementations§
Trait Implementations§
Source§impl BatchableResult for DayFormat
impl BatchableResult for DayFormat
Source§impl BinaryDecode for DayFormat
impl BinaryDecode for DayFormat
fn decode(decoder: &mut DecodedData<'_>) -> Result<Self, DecodeError>
Source§impl BinaryEncode for DayFormat
impl BinaryEncode for DayFormat
fn encode(self, encoder: &mut EncodedData)
Source§impl EncodeTypeDef for DayFormat
impl EncodeTypeDef for DayFormat
Source§fn encode_type_def(buf: &mut Vec<u8>)
fn encode_type_def(buf: &mut Vec<u8>)
Encode this type’s definition into the buffer.
For primitives, this is just the TypeTag byte.
For callbacks, this includes param count, param types, and return type.
impl Copy for DayFormat
impl Eq for DayFormat
impl StructuralPartialEq for DayFormat
Auto Trait Implementations§
impl Freeze for DayFormat
impl RefUnwindSafe for DayFormat
impl Send for DayFormat
impl Sync for DayFormat
impl Unpin for DayFormat
impl UnsafeUnpin for DayFormat
impl UnwindSafe for DayFormat
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