pub struct ViewBlock {
pub kind: String,
pub match_expression: Option<String>,
pub span: Option<AgendaSpan>,
pub header: Option<String>,
pub color: Option<String>,
pub groups: Vec<ViewGroup>,
}Fields§
§kind: Stringagenda, todo, alltodo, tags or tags-todo, as in org-agenda.
match_expression: Option<String>Tags/TODO match; for todo blocks, TODO keywords such as NEXT|WAIT.
span: Option<AgendaSpan>For agenda blocks: “day”, “week”, “month” or a number of days;
without one, agenda_span.
header: Option<String>§color: Option<String>The header’s color in the TUI, one of COLOR_NAMES; by default it follows the rows’ TODO keywords.
groups: Vec<ViewGroup>org-super-agenda style groups over the block’s rows.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewBlock
impl<'de> Deserialize<'de> for ViewBlock
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 ViewBlock
impl StructuralPartialEq for ViewBlock
Auto Trait Implementations§
impl Freeze for ViewBlock
impl RefUnwindSafe for ViewBlock
impl Send for ViewBlock
impl Sync for ViewBlock
impl Unpin for ViewBlock
impl UnsafeUnpin for ViewBlock
impl UnwindSafe for ViewBlock
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