pub struct IcalRecurWeekdayNum {
pub ordinal: Option<i16>,
pub weekday: IcalRecurWeekday,
}Expand description
One BYDAY entry: a weekday, optionally ordinal.
The ordinal counts occurrences of that weekday inside the frequency’s
period, forward when positive and backward when negative, so -1SU is the
last Sunday of a monthly or yearly one. RFC 5545 forbids it elsewhere.
Fields§
§ordinal: Option<i16>The occurrence within the period, None when unqualified.
weekday: IcalRecurWeekdayThe weekday itself.
Trait Implementations§
Source§impl Clone for IcalRecurWeekdayNum
impl Clone for IcalRecurWeekdayNum
Source§fn clone(&self) -> IcalRecurWeekdayNum
fn clone(&self) -> IcalRecurWeekdayNum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IcalRecurWeekdayNum
Source§impl Debug for IcalRecurWeekdayNum
impl Debug for IcalRecurWeekdayNum
impl Eq for IcalRecurWeekdayNum
Source§impl FromStr for IcalRecurWeekdayNum
impl FromStr for IcalRecurWeekdayNum
Source§impl PartialEq for IcalRecurWeekdayNum
impl PartialEq for IcalRecurWeekdayNum
impl StructuralPartialEq for IcalRecurWeekdayNum
Auto Trait Implementations§
impl Freeze for IcalRecurWeekdayNum
impl RefUnwindSafe for IcalRecurWeekdayNum
impl Send for IcalRecurWeekdayNum
impl Sync for IcalRecurWeekdayNum
impl Unpin for IcalRecurWeekdayNum
impl UnsafeUnpin for IcalRecurWeekdayNum
impl UnwindSafe for IcalRecurWeekdayNum
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