pub enum ReleaseType {
Published,
Unpublished,
Created,
Edited,
Deleted,
Prereleased,
Released,
}
Expand description
Types of release events See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
Variants§
Published
A release was published
Unpublished
A release was unpublished
Created
A release was created
Edited
A release was edited
Deleted
A release was deleted
Prereleased
A release was marked as a pre-release
Released
A release was released
Trait Implementations§
Source§impl Clone for ReleaseType
impl Clone for ReleaseType
Source§fn clone(&self) -> ReleaseType
fn clone(&self) -> ReleaseType
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 ReleaseType
impl Debug for ReleaseType
Source§impl<'de> Deserialize<'de> for ReleaseType
impl<'de> Deserialize<'de> for ReleaseType
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 ReleaseType
impl PartialEq for ReleaseType
Source§impl Serialize for ReleaseType
impl Serialize for ReleaseType
impl Eq for ReleaseType
impl StructuralPartialEq for ReleaseType
Auto Trait Implementations§
impl Freeze for ReleaseType
impl RefUnwindSafe for ReleaseType
impl Send for ReleaseType
impl Sync for ReleaseType
impl Unpin for ReleaseType
impl UnwindSafe for ReleaseType
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.