#[repr(u8)]pub enum MonthOfYear {
January = 1,
February = 2,
March = 3,
April = 4,
May = 5,
June = 6,
July = 7,
August = 8,
September = 9,
October = 10,
November = 11,
December = 12,
}Variants§
January = 1
February = 2
March = 3
April = 4
May = 5
June = 6
July = 7
August = 8
September = 9
October = 10
November = 11
December = 12
Trait Implementations§
Source§impl Clone for MonthOfYear
impl Clone for MonthOfYear
Source§fn clone(&self) -> MonthOfYear
fn clone(&self) -> MonthOfYear
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 MonthOfYear
impl Debug for MonthOfYear
Source§impl From<MonthOfYear> for u8
impl From<MonthOfYear> for u8
Source§fn from(enum_value: MonthOfYear) -> Self
fn from(enum_value: MonthOfYear) -> Self
Converts to this type from the input type.
Source§impl Hash for MonthOfYear
impl Hash for MonthOfYear
Source§impl OperandEncodable for MonthOfYear
impl OperandEncodable for MonthOfYear
Source§impl Ord for MonthOfYear
impl Ord for MonthOfYear
Source§fn cmp(&self, other: &MonthOfYear) -> Ordering
fn cmp(&self, other: &MonthOfYear) -> 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 MonthOfYear
impl PartialEq for MonthOfYear
Source§impl PartialOrd for MonthOfYear
impl PartialOrd for MonthOfYear
Source§impl TryFrom<u8> for MonthOfYear
impl TryFrom<u8> for MonthOfYear
Source§type Error = TryFromPrimitiveError<MonthOfYear>
type Error = TryFromPrimitiveError<MonthOfYear>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for MonthOfYear
impl TryFromPrimitive for MonthOfYear
const NAME: &'static str = "MonthOfYear"
type Primitive = u8
type Error = TryFromPrimitiveError<MonthOfYear>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for MonthOfYear
impl Eq for MonthOfYear
impl StructuralPartialEq for MonthOfYear
Auto Trait Implementations§
impl Freeze for MonthOfYear
impl RefUnwindSafe for MonthOfYear
impl Send for MonthOfYear
impl Sync for MonthOfYear
impl Unpin for MonthOfYear
impl UnsafeUnpin for MonthOfYear
impl UnwindSafe for MonthOfYear
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