Struct saturn_cli::ui::state::State
source · pub struct State<'a> {
pub records: Vec<Record>,
pub recurring_records: Vec<RecurringRecord>,
pub list_type: ListType,
pub notification: Option<(String, NaiveDateTime)>,
pub line_buf: String,
pub command: Option<CommandType>,
pub show: Option<Record>,
pub show_recurring: Option<RecurringRecord>,
pub calendar: Option<(Arc<Table<'a>>, NaiveDateTime)>,
pub events: Option<(Arc<Table<'a>>, NaiveDateTime)>,
pub redraw: bool,
pub block_ui: bool,
}Fields§
§records: Vec<Record>§recurring_records: Vec<RecurringRecord>§list_type: ListType§notification: Option<(String, NaiveDateTime)>§line_buf: String§command: Option<CommandType>§show: Option<Record>§show_recurring: Option<RecurringRecord>§calendar: Option<(Arc<Table<'a>>, NaiveDateTime)>§events: Option<(Arc<Table<'a>>, NaiveDateTime)>§redraw: bool§block_ui: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for State<'a>
impl<'a> Send for State<'a>
impl<'a> Sync for State<'a>
impl<'a> Unpin for State<'a>
impl<'a> UnwindSafe for State<'a>
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