#[non_exhaustive]pub enum ReleaseEventAction {
Published,
Edited,
}
Expand description
The action on a release this event corresponds to.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for ReleaseEventAction
impl Clone for ReleaseEventAction
source§fn clone(&self) -> ReleaseEventAction
fn clone(&self) -> ReleaseEventAction
Returns a copy 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 ReleaseEventAction
impl Debug for ReleaseEventAction
source§impl<'de> Deserialize<'de> for ReleaseEventAction
impl<'de> Deserialize<'de> for ReleaseEventAction
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 ReleaseEventAction
impl PartialEq for ReleaseEventAction
source§fn eq(&self, other: &ReleaseEventAction) -> bool
fn eq(&self, other: &ReleaseEventAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReleaseEventAction
impl Serialize for ReleaseEventAction
impl StructuralPartialEq for ReleaseEventAction
Auto Trait Implementations§
impl Freeze for ReleaseEventAction
impl RefUnwindSafe for ReleaseEventAction
impl Send for ReleaseEventAction
impl Sync for ReleaseEventAction
impl Unpin for ReleaseEventAction
impl UnwindSafe for ReleaseEventAction
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