pub struct GitignoreConfig {
pub last_updated: u64,
pub cache_duration: u64,
pub user_overrides: HashMap<String, Vec<String>>,
pub check_internet: bool,
}Expand description
Configuration for gitignore templates
Fields§
§last_updated: u64Last update timestamp
cache_duration: u64Cache duration in seconds (default: 24 hours)
user_overrides: HashMap<String, Vec<String>>Custom user overrides
check_internet: boolWhether to check for internet connectivity
Trait Implementations§
Source§impl Clone for GitignoreConfig
impl Clone for GitignoreConfig
Source§fn clone(&self) -> GitignoreConfig
fn clone(&self) -> GitignoreConfig
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 GitignoreConfig
impl Debug for GitignoreConfig
Source§impl Default for GitignoreConfig
impl Default for GitignoreConfig
Source§impl<'de> Deserialize<'de> for GitignoreConfig
impl<'de> Deserialize<'de> for GitignoreConfig
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 GitignoreConfig
impl RefUnwindSafe for GitignoreConfig
impl Send for GitignoreConfig
impl Sync for GitignoreConfig
impl Unpin for GitignoreConfig
impl UnwindSafe for GitignoreConfig
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