pub enum SourceSpecificConfig {
Name(String),
Complex(SourceConfig),
}Expand description
Source-specific configuration for a package
Variants§
Name(String)
Simple name override
Complex(SourceConfig)
Complex configuration with hooks and modifications
Trait Implementations§
Source§impl Clone for SourceSpecificConfig
impl Clone for SourceSpecificConfig
Source§fn clone(&self) -> SourceSpecificConfig
fn clone(&self) -> SourceSpecificConfig
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 Debug for SourceSpecificConfig
impl Debug for SourceSpecificConfig
Source§impl<'de> Deserialize<'de> for SourceSpecificConfig
impl<'de> Deserialize<'de> for SourceSpecificConfig
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 SourceSpecificConfig
impl RefUnwindSafe for SourceSpecificConfig
impl Send for SourceSpecificConfig
impl Sync for SourceSpecificConfig
impl Unpin for SourceSpecificConfig
impl UnwindSafe for SourceSpecificConfig
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