Enum crates_index_diff::ChangeKind
[−]
[src]
pub enum ChangeKind {
Added,
Yanked,
}Identify a kind of change that occurred to a crate
Variants
AddedA crate version was added
YankedA crate version was added or it was unyanked.
Trait Implementations
impl Encodable for ChangeKind[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.
impl Ord for ChangeKind[src]
fn cmp(&self, __arg_0: &ChangeKind) -> Ordering
This method returns an Ordering between self and other. Read more
impl PartialOrd for ChangeKind[src]
fn partial_cmp(&self, __arg_0: &ChangeKind) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Eq for ChangeKind[src]
impl PartialEq for ChangeKind[src]
fn eq(&self, __arg_0: &ChangeKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.