pub enum RevisionType {
Reverted,
Anonymous,
Bot,
Minor,
}Variants§
Trait Implementations§
Source§impl Clone for RevisionType
impl Clone for RevisionType
Source§fn clone(&self) -> RevisionType
fn clone(&self) -> RevisionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RevisionType
Source§impl Debug for RevisionType
impl Debug for RevisionType
Source§impl Display for RevisionType
impl Display for RevisionType
impl Eq for RevisionType
Source§impl<'_derivative_strum> From<&'_derivative_strum RevisionType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum RevisionType> for &'static str
Source§fn from(x: &'_derivative_strum RevisionType) -> &'static str
fn from(x: &'_derivative_strum RevisionType) -> &'static str
Converts to this type from the input type.
Source§impl From<RevisionType> for &'static str
impl From<RevisionType> for &'static str
Source§fn from(x: RevisionType) -> &'static str
fn from(x: RevisionType) -> &'static str
Converts to this type from the input type.
Source§impl Hash for RevisionType
impl Hash for RevisionType
Source§impl Ord for RevisionType
impl Ord for RevisionType
Source§fn cmp(&self, other: &RevisionType) -> Ordering
fn cmp(&self, other: &RevisionType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RevisionType
impl PartialEq for RevisionType
Source§fn eq(&self, other: &RevisionType) -> bool
fn eq(&self, other: &RevisionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RevisionType
impl PartialOrd for RevisionType
impl StructuralPartialEq for RevisionType
Auto Trait Implementations§
impl Freeze for RevisionType
impl RefUnwindSafe for RevisionType
impl Send for RevisionType
impl Sync for RevisionType
impl Unpin for RevisionType
impl UnsafeUnpin for RevisionType
impl UnwindSafe for RevisionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.