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§
Trait Implementations§
Source§impl Debug for DependencyOptions
impl Debug for DependencyOptions
Source§impl<'de> Deserialize<'de> for DependencyOptions
impl<'de> Deserialize<'de> for DependencyOptions
Source§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 Freeze for DependencyOptions
impl RefUnwindSafe for DependencyOptions
impl Send for DependencyOptions
impl Sync for DependencyOptions
impl Unpin for DependencyOptions
impl UnwindSafe for DependencyOptions
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