pub struct TuiApp {Show 16 fields
pub should_quit: bool,
pub paused: bool,
pub show_help: bool,
pub show_entity_detail: bool,
pub show_confirmation: bool,
pub confirmation_action: Option<ConfirmationAction>,
pub active_tab: usize,
pub show_actor_detail: bool,
pub system: System,
pub last_action_message: Option<String>,
pub message_time: Option<Instant>,
pub entity_table_state: TableState,
pub rule_table_state: TableState,
pub actor_table_state: TableState,
pub ja4_table_state: TableState,
pub last_system_refresh: Instant,
/* private fields */
}Expand description
TUI Dashboard Application
Fields§
§should_quit: boolWhether the app should quit
paused: boolWhether the UI is paused
show_help: boolWhether to show the help modal
show_entity_detail: boolWhether to show the entity detail modal
show_confirmation: boolWhether to show the confirmation modal
confirmation_action: Option<ConfirmationAction>Action to confirm
active_tab: usizeActive tab index
show_actor_detail: boolWhether to show the actor detail modal
system: SystemSystem info for resource monitoring
last_action_message: Option<String>Message from last action
message_time: Option<Instant>When the message was set
entity_table_state: TableStateState for entity table
rule_table_state: TableStateState for rule table
actor_table_state: TableStateState for actor table
ja4_table_state: TableStateState for JA4 table
last_system_refresh: InstantLast time system info was refreshed
Implementations§
Auto Trait Implementations§
impl Freeze for TuiApp
impl !RefUnwindSafe for TuiApp
impl Send for TuiApp
impl Sync for TuiApp
impl Unpin for TuiApp
impl UnsafeUnpin for TuiApp
impl !UnwindSafe for TuiApp
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more