Struct debian::package::SingleDependency [] [src]

pub struct SingleDependency {
    pub package: String,
    pub version: Option<(VRel, Version)>,
    pub arch: Option<String>,
}

A dependency on another package

Fields

package: String version: Option<(VRel, Version)> arch: Option<String>

Trait Implementations

impl Clone for SingleDependency
[src]

fn clone(&self) -> SingleDependency

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for SingleDependency
[src]

fn eq(&self, __arg_0: &SingleDependency) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &SingleDependency) -> bool

This method tests for !=.

impl Debug for SingleDependency
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for SingleDependency
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.