pub struct Settings {
pub ping_on_blocked: bool,
pub poll_interval_ms: u64,
pub agents: Vec<String>,
pub vim_mode: bool,
pub theme: ThemeConfig,
}Fields§
§ping_on_blocked: bool§poll_interval_ms: u64§agents: Vec<String>§vim_mode: bool§theme: ThemeConfigImplementations§
Source§impl Settings
impl Settings
Sourcepub fn poll_interval_ms_clamped(&self) -> u64
pub fn poll_interval_ms_clamped(&self) -> u64
The configured poll interval, floored at MIN_POLL_INTERVAL_MS.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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 Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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