pub struct ViewSection {
pub header: String,
pub from: Option<NaiveDate>,
pub to: Option<NaiveDate>,
pub entries: Vec<AgendaEntry>,
pub items: Vec<Item>,
}Expand description
One block of a saved view: agenda rows for an agenda block, otherwise a
list of items. from/to are set for agenda blocks only.
Fields§
§header: String§from: Option<NaiveDate>§to: Option<NaiveDate>§entries: Vec<AgendaEntry>§items: Vec<Item>Trait Implementations§
Source§impl Clone for ViewSection
impl Clone for ViewSection
Source§impl Debug for ViewSection
impl Debug for ViewSection
Auto Trait Implementations§
impl Freeze for ViewSection
impl RefUnwindSafe for ViewSection
impl Send for ViewSection
impl Sync for ViewSection
impl Unpin for ViewSection
impl UnsafeUnpin for ViewSection
impl UnwindSafe for ViewSection
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