pub enum AmendmentType {
FileReplaced,
PatchApplied,
Dropped,
}Expand description
The type of amendment applied to an artifact (v0.3.4).
Variants§
FileReplaced
Artifact content replaced with a corrected file (–file).
PatchApplied
A patch was applied to the artifact (–patch).
Dropped
Artifact was removed from the draft (–drop).
Trait Implementations§
Source§impl Clone for AmendmentType
impl Clone for AmendmentType
Source§fn clone(&self) -> AmendmentType
fn clone(&self) -> AmendmentType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmendmentType
impl Debug for AmendmentType
Source§impl<'de> Deserialize<'de> for AmendmentType
impl<'de> Deserialize<'de> for AmendmentType
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
Source§impl PartialEq for AmendmentType
impl PartialEq for AmendmentType
Source§impl Serialize for AmendmentType
impl Serialize for AmendmentType
impl Eq for AmendmentType
impl StructuralPartialEq for AmendmentType
Auto Trait Implementations§
impl Freeze for AmendmentType
impl RefUnwindSafe for AmendmentType
impl Send for AmendmentType
impl Sync for AmendmentType
impl Unpin for AmendmentType
impl UnsafeUnpin for AmendmentType
impl UnwindSafe for AmendmentType
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> 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.