pub enum CodeChangeKind {
Create,
Update,
Delete,
}Expand description
Kind of file change represented by a code-change presentation.
Variants§
Trait Implementations§
Source§impl Clone for CodeChangeKind
impl Clone for CodeChangeKind
Source§fn clone(&self) -> CodeChangeKind
fn clone(&self) -> CodeChangeKind
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 CodeChangeKind
Source§impl Debug for CodeChangeKind
impl Debug for CodeChangeKind
Source§impl<'de> Deserialize<'de> for CodeChangeKind
impl<'de> Deserialize<'de> for CodeChangeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CodeChangeKind
Source§impl Ord for CodeChangeKind
impl Ord for CodeChangeKind
Source§fn cmp(&self, other: &CodeChangeKind) -> Ordering
fn cmp(&self, other: &CodeChangeKind) -> 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 CodeChangeKind
impl PartialEq for CodeChangeKind
Source§impl PartialOrd for CodeChangeKind
impl PartialOrd for CodeChangeKind
Source§impl Serialize for CodeChangeKind
impl Serialize for CodeChangeKind
impl StructuralPartialEq for CodeChangeKind
Auto Trait Implementations§
impl Freeze for CodeChangeKind
impl RefUnwindSafe for CodeChangeKind
impl Send for CodeChangeKind
impl Sync for CodeChangeKind
impl Unpin for CodeChangeKind
impl UnsafeUnpin for CodeChangeKind
impl UnwindSafe for CodeChangeKind
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