pub struct MappingsSection {
pub path: String,
pub install: String,
pub shell: Vec<String>,
pub homebrew: String,
pub skip: Vec<String>,
}Expand description
File-to-handler mapping patterns.
Fields§
§path: StringDirectory name pattern for PATH handler.
install: StringFilename pattern for install scripts.
shell: Vec<String>Filename patterns for shell scripts to source.
homebrew: StringFilename pattern for Homebrew Brewfile.
skip: Vec<String>Additional filename patterns to exclude from handler processing within a pack. Distinct from [pack] ignore which controls discovery.
Trait Implementations§
Source§impl Clone for MappingsSection
impl Clone for MappingsSection
Source§fn clone(&self) -> MappingsSection
fn clone(&self) -> MappingsSection
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 MappingsSection
impl Config for MappingsSection
Source§type Layer = MappingsSectionLayer
type Layer = MappingsSectionLayer
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 MappingsSection
impl Debug for MappingsSection
Source§impl<'de> Deserialize<'de> for MappingsSection
impl<'de> Deserialize<'de> for MappingsSection
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 MappingsSection
impl RefUnwindSafe for MappingsSection
impl Send for MappingsSection
impl Sync for MappingsSection
impl Unpin for MappingsSection
impl UnsafeUnpin for MappingsSection
impl UnwindSafe for MappingsSection
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