pub enum DockerIgnoreScope {
Blank,
Comment,
Pattern,
Directory,
}Expand description
Ignore rule classification.
Variants§
Blank
A blank line.
Comment
A comment line.
Pattern
A file or path pattern.
Directory
A directory-only pattern.
Implementations§
Trait Implementations§
Source§impl Clone for DockerIgnoreScope
impl Clone for DockerIgnoreScope
Source§fn clone(&self) -> DockerIgnoreScope
fn clone(&self) -> DockerIgnoreScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DockerIgnoreScope
impl Debug for DockerIgnoreScope
Source§impl Display for DockerIgnoreScope
impl Display for DockerIgnoreScope
Source§impl FromStr for DockerIgnoreScope
impl FromStr for DockerIgnoreScope
Source§type Err = DockerIgnoreParseError
type Err = DockerIgnoreParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<DockerIgnoreScope, <DockerIgnoreScope as FromStr>::Err>
fn from_str( value: &str, ) -> Result<DockerIgnoreScope, <DockerIgnoreScope as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for DockerIgnoreScope
impl Hash for DockerIgnoreScope
Source§impl Ord for DockerIgnoreScope
impl Ord for DockerIgnoreScope
Source§fn cmp(&self, other: &DockerIgnoreScope) -> Ordering
fn cmp(&self, other: &DockerIgnoreScope) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DockerIgnoreScope
impl PartialEq for DockerIgnoreScope
Source§fn eq(&self, other: &DockerIgnoreScope) -> bool
fn eq(&self, other: &DockerIgnoreScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DockerIgnoreScope
impl PartialOrd for DockerIgnoreScope
impl Copy for DockerIgnoreScope
impl Eq for DockerIgnoreScope
impl StructuralPartialEq for DockerIgnoreScope
Auto Trait Implementations§
impl Freeze for DockerIgnoreScope
impl RefUnwindSafe for DockerIgnoreScope
impl Send for DockerIgnoreScope
impl Sync for DockerIgnoreScope
impl Unpin for DockerIgnoreScope
impl UnsafeUnpin for DockerIgnoreScope
impl UnwindSafe for DockerIgnoreScope
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