pub struct AppModel {Show 23 fields
pub endpoint_url: String,
pub endpoint_history: Vec<String>,
pub connection: ConnectionState,
pub root_node: NodeId,
pub tree: TreeModel,
pub selected: Option<NodeId>,
pub node_summary: Option<NodeSummary>,
pub active_tab: DetailTab,
pub references: Option<Vec<ReferenceRow>>,
pub references_loading: bool,
pub log: VecDeque<LogLine>,
pub selected_endpoint: Option<EndpointInfo>,
pub endpoints_loading: bool,
pub discovered_endpoints: Option<Vec<EndpointInfo>>,
pub endpoints_dialog_open: bool,
pub auth_mode: AuthMode,
pub auth_username: String,
pub auth_password: String,
pub auth_cert_path: String,
pub auth_key_path: String,
pub last_selection_paths: HashMap<String, Vec<NodeId>>,
pub endpoint_mode_filter: SecurityMode,
pub file_picker_open: bool,
}Fields§
§endpoint_url: String§endpoint_history: Vec<String>§connection: ConnectionState§root_node: NodeId§tree: TreeModel§selected: Option<NodeId>§node_summary: Option<NodeSummary>§active_tab: DetailTab§references: Option<Vec<ReferenceRow>>§references_loading: bool§log: VecDeque<LogLine>§selected_endpoint: Option<EndpointInfo>§endpoints_loading: bool§discovered_endpoints: Option<Vec<EndpointInfo>>§endpoints_dialog_open: bool§auth_mode: AuthMode§auth_username: String§auth_password: String§auth_cert_path: String§auth_key_path: String§last_selection_paths: HashMap<String, Vec<NodeId>>§endpoint_mode_filter: SecurityMode§file_picker_open: boolImplementations§
Source§impl AppModel
impl AppModel
pub fn push_log(&mut self, line: LogLine)
pub fn reset_session_state(&mut self)
pub fn record_successful_connection(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppModel
impl RefUnwindSafe for AppModel
impl Send for AppModel
impl Sync for AppModel
impl Unpin for AppModel
impl UnsafeUnpin for AppModel
impl UnwindSafe for AppModel
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.