[][src]Struct requirements::Requirement

pub struct Requirement<'a> {
    pub line: String,
    pub editable: bool,
    pub name: Option<String>,
    pub comment: Option<String>,
    pub specifier: bool,
    pub vcs: Option<VersionControlSystem>,
    pub uri: Option<&'a Path>,
    pub subdirectory: Option<String>,
    pub path: Option<&'a Path>,
    pub hash_name: Option<String>,
    pub hash: Option<String>,
    pub revision: Option<String>,
    pub extras: Vec<String>,
    pub specs: Vec<(Comparison, String)>,
    pub extra_index_url: String,
}

Fields

line: Stringeditable: boolname: Option<String>comment: Option<String>specifier: boolvcs: Option<VersionControlSystem>uri: Option<&'a Path>subdirectory: Option<String>path: Option<&'a Path>hash_name: Option<String>hash: Option<String>revision: Option<String>extras: Vec<String>specs: Vec<(Comparison, String)>extra_index_url: String

Trait Implementations

impl<'a> Debug for Requirement<'a>[src]

impl<'a> PartialEq<Requirement<'a>> for Requirement<'a>[src]

impl<'a> StructuralPartialEq for Requirement<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Requirement<'a>

impl<'a> Send for Requirement<'a>

impl<'a> Sync for Requirement<'a>

impl<'a> Unpin for Requirement<'a>

impl<'a> UnwindSafe for Requirement<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.