pub struct DayDescription<R: DayRank> {
pub date: NaiveDate,
pub day_in_season: ArcStr,
pub day: LiturgicalUnit<R>,
pub commemorations: Vec<(LiturgicalUnit<R>, CommemorationType)>,
pub concuring_vespers: Option<(LiturgicalUnit<R>, ConcuringVespersAction)>,
pub underlying_octave: Option<String>,
pub season: ArcStr,
}Fields§
§date: NaiveDate§day_in_season: ArcStr§day: LiturgicalUnit<R>§commemorations: Vec<(LiturgicalUnit<R>, CommemorationType)>§concuring_vespers: Option<(LiturgicalUnit<R>, ConcuringVespersAction)>§underlying_octave: Option<String>§season: ArcStrImplementations§
Source§impl<R> DayDescription<R>where
R: DayRank,
impl<R> DayDescription<R>where
R: DayRank,
pub fn add_concuring_vespers( self, vespers: LiturgicalUnit<R>, action: ConcuringVespersAction, ) -> Self
Trait Implementations§
Source§impl<R: Clone + DayRank> Clone for DayDescription<R>
impl<R: Clone + DayRank> Clone for DayDescription<R>
Source§fn clone(&self) -> DayDescription<R>
fn clone(&self) -> DayDescription<R>
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 moreAuto Trait Implementations§
impl<R> Freeze for DayDescription<R>where
R: Freeze,
impl<R> RefUnwindSafe for DayDescription<R>where
R: RefUnwindSafe,
impl<R> Send for DayDescription<R>
impl<R> Sync for DayDescription<R>
impl<R> Unpin for DayDescription<R>where
R: Unpin,
impl<R> UnwindSafe for DayDescription<R>where
R: UnwindSafe,
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