Struct cargo_doc2readme::input::Dependency
source · [−]pub struct Dependency {
pub crate_name: String,
pub req: VersionReq,
pub version: Version,
}
Fields
crate_name: String
The crate name as it appears on crates.io.
req: VersionReq
The version requirement of the dependency.
version: Version
The exact version of the dependency.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnwindSafe for Dependency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more