pub struct IngestOptions {
pub include_patterns: Vec<String>,
pub exclude_patterns: Vec<String>,
pub max_file_size: usize,
pub include_untracked: bool,
pub branch: Option<String>,
pub path_prefix: Option<String>,
pub filter_preset: Option<FilterPreset>,
pub apply_default_filters: bool,
}Fields§
§include_patterns: Vec<String>§exclude_patterns: Vec<String>§max_file_size: usize§include_untracked: bool§branch: Option<String>§path_prefix: Option<String>§filter_preset: Option<FilterPreset>§apply_default_filters: boolImplementations§
Source§impl IngestOptions
impl IngestOptions
pub fn with_preset(preset: FilterPreset) -> Self
pub fn get_effective_excludes(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for IngestOptions
impl Clone for IngestOptions
Source§impl Debug for IngestOptions
impl Debug for IngestOptions
Source§impl Default for IngestOptions
impl Default for IngestOptions
Source§impl<'de> Deserialize<'de> for IngestOptions
impl<'de> Deserialize<'de> for IngestOptions
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 IngestOptions
impl RefUnwindSafe for IngestOptions
impl Send for IngestOptions
impl Sync for IngestOptions
impl Unpin for IngestOptions
impl UnsafeUnpin for IngestOptions
impl UnwindSafe for IngestOptions
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