pub struct FleetConfig {
pub refresh_interval_secs: u64,
pub max_sessions: u32,
}Expand description
Configuration for the TUI fleet panel (#3884).
Fields§
§refresh_interval_secs: u64How often the fleet panel polls the database for updated session data (seconds).
max_sessions: u32Maximum number of sessions to display in the fleet panel.
Trait Implementations§
Source§impl Clone for FleetConfig
impl Clone for FleetConfig
Source§fn clone(&self) -> FleetConfig
fn clone(&self) -> FleetConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FleetConfig
Source§impl Debug for FleetConfig
impl Debug for FleetConfig
Source§impl Default for FleetConfig
impl Default for FleetConfig
Source§impl<'de> Deserialize<'de> for FleetConfigwhere
FleetConfig: Default,
impl<'de> Deserialize<'de> for FleetConfigwhere
FleetConfig: Default,
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
Auto Trait Implementations§
impl Freeze for FleetConfig
impl RefUnwindSafe for FleetConfig
impl Send for FleetConfig
impl Sync for FleetConfig
impl Unpin for FleetConfig
impl UnsafeUnpin for FleetConfig
impl UnwindSafe for FleetConfig
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