pub struct SherpackDependency {
pub name: String,
pub version: String,
pub repository: Option<String>,
pub condition: Option<String>,
pub tags: Vec<String>,
pub alias: Option<String>,
}Expand description
Sherpack dependency
Fields§
§name: StringDependency name
version: StringVersion constraint
repository: Option<String>Repository URL
condition: Option<String>Condition to enable
Tags for grouping
alias: Option<String>Alias name
Trait Implementations§
Source§impl Clone for SherpackDependency
impl Clone for SherpackDependency
Source§fn clone(&self) -> SherpackDependency
fn clone(&self) -> SherpackDependency
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 SherpackDependency
impl Debug for SherpackDependency
Auto Trait Implementations§
impl Freeze for SherpackDependency
impl RefUnwindSafe for SherpackDependency
impl Send for SherpackDependency
impl Sync for SherpackDependency
impl Unpin for SherpackDependency
impl UnwindSafe for SherpackDependency
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