Struct cli::types::EnvValuePathGlob
source · [−]pub struct EnvValuePathGlob {
pub glob: String,
pub include_files: Option<bool>,
pub include_dirs: Option<bool>,
pub ignore_type: Option<String>,
}
Expand description
Env value holding a list of paths based on given glob definitions
Fields
glob: String
The glob used to fetch all paths
include_files: Option<bool>
True to include files (default is true if undefined)
include_dirs: Option<bool>
True to include directories (default is true if undefined)
ignore_type: Option<String>
Enables to respect ignore files
Trait Implementations
sourceimpl Clone for EnvValuePathGlob
impl Clone for EnvValuePathGlob
sourcefn clone(&self) -> EnvValuePathGlob
fn clone(&self) -> EnvValuePathGlob
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EnvValuePathGlob
impl Debug for EnvValuePathGlob
sourceimpl<'de> Deserialize<'de> for EnvValuePathGlob
impl<'de> Deserialize<'de> for EnvValuePathGlob
sourcefn 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
sourceimpl Serialize for EnvValuePathGlob
impl Serialize for EnvValuePathGlob
Auto Trait Implementations
impl RefUnwindSafe for EnvValuePathGlob
impl Send for EnvValuePathGlob
impl Sync for EnvValuePathGlob
impl Unpin for EnvValuePathGlob
impl UnwindSafe for EnvValuePathGlob
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more