[][src]Struct watchman_client::expr::DirNameTerm

pub struct DirNameTerm {
    pub path: PathBuf,
    pub depth: Option<RelOp>,
}

Match on the parent directory structure https://facebook.github.io/watchman/docs/expr/dirname.html

Fields

path: PathBuf

The path to a directory

depth: Option<RelOp>

Specifies the matching depth. A file has depth == 0 if it is contained directory within path, depth == 1 if it is in a direct child directory of path, depth == 2 if in a grand-child directory and so on. If None, the default is considered to GreaterOrEqual depth 0.

Trait Implementations

impl Clone for DirNameTerm[src]

impl Debug for DirNameTerm[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.