Struct pep508_parser::Dependency
source · pub struct Dependency {
pub name: String,
pub version: VersionReq,
pub extras: Option<Vec<String>>,
pub uri: Option<String>,
pub markers: Option<Vec<String>>,
}
Fields
name: String
Name of the package
version: VersionReq
Version limits
extras: Option<Vec<String>>
Optional extras that expand the dependencies of the distribution to enable optional features
uri: Option<String>
Optional URI specification
markers: Option<Vec<String>>
Optional markers
Trait Implementations
sourceimpl Debug for Dependency
impl Debug for Dependency
sourceimpl PartialEq<Dependency> for Dependency
impl PartialEq<Dependency> for Dependency
sourcefn eq(&self, other: &Dependency) -> bool
fn eq(&self, other: &Dependency) -> bool
impl StructuralPartialEq for Dependency
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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