pub struct AppModel {Show 28 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 last_connection_selections: HashMap<String, ConnectionPrefs>,
pub endpoint_mode_filter: SecurityMode,
pub file_picker_open: bool,
pub method_call: Option<MethodCallState>,
pub subscriptions: Vec<SubscriptionRow>,
pub subscribing: HashSet<NodeId>,
pub attr_edit: Option<AttributeEditState>,
}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>>§last_connection_selections: HashMap<String, ConnectionPrefs>§endpoint_mode_filter: SecurityMode§file_picker_open: bool§method_call: Option<MethodCallState>§subscriptions: Vec<SubscriptionRow>§subscribing: HashSet<NodeId>§attr_edit: Option<AttributeEditState>Implementations§
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)
pub fn apply_saved_connection_prefs(&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