pub struct PackSection {
pub ignore: Vec<String>,
}Expand description
Pack-level settings.
Fields§
§ignore: Vec<String>Glob patterns for files and directories to ignore during pack discovery and file scanning.
Trait Implementations§
Source§impl Clone for PackSection
impl Clone for PackSection
Source§fn clone(&self) -> PackSection
fn clone(&self) -> PackSection
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 moreSource§impl Config for PackSection
impl Config for PackSection
Source§type Layer = PackSectionLayer
type Layer = PackSectionLayer
A layer of
Self (a potentially partial configuration). Read moreSource§fn from_layer(layer: Self::Layer) -> Result<Self, Error>
fn from_layer(layer: Self::Layer) -> Result<Self, Error>
Tries to create
Self from a layer and validates itself. Read moreSource§fn builder() -> Builder<Self>
fn builder() -> Builder<Self>
Convenience builder to configure, load and merge multiple configuration
sources. Sources specified earlier have a higher priority; later
sources only fill in the gaps. After all sources have been loaded, the
default values (usually specified with
#[default = ...]) are merged
(with the lowest priority). Read moreSource§impl Debug for PackSection
impl Debug for PackSection
Source§impl<'de> Deserialize<'de> for PackSection
impl<'de> Deserialize<'de> for PackSection
Source§fn 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
Auto Trait Implementations§
impl Freeze for PackSection
impl RefUnwindSafe for PackSection
impl Send for PackSection
impl Sync for PackSection
impl Unpin for PackSection
impl UnsafeUnpin for PackSection
impl UnwindSafe for PackSection
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