pub enum CalendarType {
Calendar1954,
Calendar1962,
OrdinaryForm,
}Expand description
Shared calendar type used across crates.
Variants§
Calendar1954
1954 Roman Calendar
Calendar1962
1962 Roman Calendar (Extraordinary Form)
OrdinaryForm
Ordinary Form (Post-Vatican II)
Trait Implementations§
Source§impl Clone for CalendarType
impl Clone for CalendarType
Source§fn clone(&self) -> CalendarType
fn clone(&self) -> CalendarType
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 CalendarType
impl Debug for CalendarType
Source§impl<'de> Deserialize<'de> for CalendarType
impl<'de> Deserialize<'de> for CalendarType
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 CalendarType
impl PartialEq for CalendarType
Source§impl Serialize for CalendarType
impl Serialize for CalendarType
impl Eq for CalendarType
impl StructuralPartialEq for CalendarType
Auto Trait Implementations§
impl Freeze for CalendarType
impl RefUnwindSafe for CalendarType
impl Send for CalendarType
impl Sync for CalendarType
impl Unpin for CalendarType
impl UnwindSafe for CalendarType
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