pub struct StintConfig {
pub idle_threshold_secs: i64,
pub default_rate_cents: Option<i64>,
pub auto_discover: bool,
pub default_tags: Vec<String>,
}Expand description
Stint configuration with sensible defaults.
Fields§
§idle_threshold_secs: i64Idle threshold in seconds before auto-pause (default: 300 = 5 minutes).
default_rate_cents: Option<i64>Default hourly rate in cents for new projects (default: None).
auto_discover: boolWhether .git auto-discovery is enabled (default: true).
Default tags applied to auto-discovered projects.
Implementations§
Trait Implementations§
Source§impl Clone for StintConfig
impl Clone for StintConfig
Source§fn clone(&self) -> StintConfig
fn clone(&self) -> StintConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StintConfig
impl Debug for StintConfig
Auto Trait Implementations§
impl Freeze for StintConfig
impl RefUnwindSafe for StintConfig
impl Send for StintConfig
impl Sync for StintConfig
impl Unpin for StintConfig
impl UnsafeUnpin for StintConfig
impl UnwindSafe for StintConfig
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