Enum smaug_lib::config::DependencyOptions
source · [−]pub enum DependencyOptions {
Dir {
dir: PathBuf,
},
File {
file: PathBuf,
},
Git {
branch: Option<String>,
repo: String,
rev: Option<String>,
tag: Option<String>,
},
Registry {
version: String,
},
Url {
url: String,
},
}
Variants
Dir
Fields
dir: PathBuf
File
Fields
file: PathBuf
Git
Registry
Fields
version: String
Url
Fields
url: String
Trait Implementations
fn deserialize<D>(deserializer: D) -> Result<DependencyOptions, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<DependencyOptions, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DependencyOptions
impl Send for DependencyOptions
impl Sync for DependencyOptions
impl Unpin for DependencyOptions
impl UnwindSafe for DependencyOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more