pub struct CalendarView {
pub period: Period,
pub tag: Option<String>,
pub query: String,
pub show: Show,
}Expand description
What the calendar shows: which period, and which tag and kind of interaction.
Fields§
§period: PeriodThe day, week or month shown. An hour shows as its whole day.
tag: Option<String>Only entries carrying this tag.
query: StringOnly entries matching this search (see Task::matches); empty matches all.
show: ShowOnly this kind of interaction.
Implementations§
Trait Implementations§
Source§impl Clone for CalendarView
impl Clone for CalendarView
Source§impl Debug for CalendarView
impl Debug for CalendarView
impl Eq for CalendarView
Source§impl PartialEq for CalendarView
impl PartialEq for CalendarView
impl StructuralPartialEq for CalendarView
Auto Trait Implementations§
impl Freeze for CalendarView
impl RefUnwindSafe for CalendarView
impl Send for CalendarView
impl Sync for CalendarView
impl Unpin for CalendarView
impl UnsafeUnpin for CalendarView
impl UnwindSafe for CalendarView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.