pub struct Dependency {
pub name: String,
pub version: Option<String>,
}Expand description
A package manager dependency, used by the ecosystem rules.
Fields§
§name: String§version: Option<String>Trait Implementations§
Source§impl Clone for Dependency
impl Clone for Dependency
Auto Trait Implementations§
impl Forget for Dependency
impl Freeze for Dependency
impl Move for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependencywhere
RawVecInner: Send,
impl Sync for Dependencywhere
RawVecInner: Sync,
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependencywhere
RawVecInner: UnwindSafe,
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