pub struct IgnoreMatchResult {
pub ignored: bool,
pub matched_pattern: Option<String>,
pub matched_file: Option<PathBuf>,
pub rule_type: GitignoreRule,
pub line_number: Option<usize>,
}
Expand description
Match result for gitignore patterns
Fields§
§ignored: bool
§matched_pattern: Option<String>
§matched_file: Option<PathBuf>
§rule_type: GitignoreRule
§line_number: Option<usize>
Trait Implementations§
Source§impl Clone for IgnoreMatchResult
impl Clone for IgnoreMatchResult
Source§fn clone(&self) -> IgnoreMatchResult
fn clone(&self) -> IgnoreMatchResult
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 IgnoreMatchResult
impl Debug for IgnoreMatchResult
Source§impl<'de> Deserialize<'de> for IgnoreMatchResult
impl<'de> Deserialize<'de> for IgnoreMatchResult
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 IgnoreMatchResult
impl RefUnwindSafe for IgnoreMatchResult
impl Send for IgnoreMatchResult
impl Sync for IgnoreMatchResult
impl Unpin for IgnoreMatchResult
impl UnwindSafe for IgnoreMatchResult
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