Enum DockerIgnoreScope
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§
§impl DockerIgnoreScope
impl DockerIgnoreScope
Trait Implementations§
§impl Clone for DockerIgnoreScope
impl Clone for DockerIgnoreScope
§fn clone(&self) -> DockerIgnoreScope
fn clone(&self) -> DockerIgnoreScope
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 more§impl Debug for DockerIgnoreScope
impl Debug for DockerIgnoreScope
§impl Display for DockerIgnoreScope
impl Display for DockerIgnoreScope
§impl FromStr for DockerIgnoreScope
impl FromStr for DockerIgnoreScope
§impl Hash for DockerIgnoreScope
impl Hash for DockerIgnoreScope
§impl Ord for DockerIgnoreScope
impl Ord for DockerIgnoreScope
§fn cmp(&self, other: &DockerIgnoreScope) -> Ordering
fn cmp(&self, other: &DockerIgnoreScope) -> Ordering
1.21.0 · 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
§impl PartialEq for DockerIgnoreScope
impl PartialEq for DockerIgnoreScope
§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