pub enum DiscussionType {
Show 13 variants
Created,
Edited,
Deleted,
Transferred,
Pinned,
Unpinned,
Labeled,
Unlabeled,
Locked,
Unlocked,
CategoryChanged,
Answered,
Unanswered,
}
Expand description
Types of discussion events See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#discussion
Variants§
Created
A discussion was created
Edited
A discussion was edited
Deleted
A discussion was deleted
Transferred
A discussion was transferred between repositories
Pinned
A discussion was pinned
Unpinned
A discussion was unpinned
Labeled
A discussion was labeled
Unlabeled
A discussion was unlabeled
Locked
A discussion was locked
Unlocked
A discussion was unlocked
CategoryChanged
A discussion’s category was changed
Answered
A discussion was marked as answered
Unanswered
A discussion was unmarked as answered
Trait Implementations§
Source§impl Clone for DiscussionType
impl Clone for DiscussionType
Source§fn clone(&self) -> DiscussionType
fn clone(&self) -> DiscussionType
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 DiscussionType
impl Debug for DiscussionType
Source§impl<'de> Deserialize<'de> for DiscussionType
impl<'de> Deserialize<'de> for DiscussionType
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 DiscussionType
impl PartialEq for DiscussionType
Source§impl Serialize for DiscussionType
impl Serialize for DiscussionType
impl Eq for DiscussionType
impl StructuralPartialEq for DiscussionType
Auto Trait Implementations§
impl Freeze for DiscussionType
impl RefUnwindSafe for DiscussionType
impl Send for DiscussionType
impl Sync for DiscussionType
impl Unpin for DiscussionType
impl UnwindSafe for DiscussionType
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.