pub struct ViewGroup {
pub name: Option<String>,
pub match_expression: Option<String>,
pub by: Option<String>,
pub effort_max: Option<String>,
pub effort_min: Option<String>,
pub discard: bool,
pub order: i64,
pub color: Option<String>,
}Expand description
One group of a view block, as an org-super-agenda group: each row goes
to the first group, in list order, whose match it passes; discard
drops those rows; by makes one group per category, parent heading,
TODO keyword or priority cookie. Groups are shown by order, then list
order, and rows no group takes come last as “Other items”.
Fields§
§name: Option<String>§match_expression: Option<String>Tags/TODO match, as for a tags block; without one the group takes every remaining row.
by: Option<String>§effort_max: Option<String>org-super-agenda’s :effort< and :effort>: the heading’s own
:Effort: is at most / at least this duration (0:15, 30, 1h).
A heading without an effort matches neither.
effort_min: Option<String>§discard: bool§order: i64§color: Option<String>As for a block; a by group’s color applies to each group it makes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewGroup
impl<'de> Deserialize<'de> for ViewGroup
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
impl Eq for ViewGroup
impl StructuralPartialEq for ViewGroup
Auto Trait Implementations§
impl Freeze for ViewGroup
impl RefUnwindSafe for ViewGroup
impl Send for ViewGroup
impl Sync for ViewGroup
impl Unpin for ViewGroup
impl UnsafeUnpin for ViewGroup
impl UnwindSafe for ViewGroup
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