Enum quire::Include[][src]

pub enum Include<'a> {
    File {
        filename: &'a str,
    },
    Sequence {
        pattern: &'a str,
    },
    Mapping {
        pattern: &'a str,
    },
    // some variants omitted
}

The kind of include tag that encountered in config

Variants

Looks like !Include some/file.yaml

Fields of File

Looks like !*IncludeSeq some/*.yaml

It's expected that included files are sorted (both glob and capturing_glob support that).

Fields of Sequence

Looks like !*IncludeMap some/(*).yaml.

Everything in parenthesis should be used as a key Use capturing_glob crate to parse and match files

Fields of Mapping

Trait Implementations

impl<'a> Debug for Include<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Include<'a>

impl<'a> Sync for Include<'a>