Enum github_rest::model::discussions::events::DiscussionAction
source · pub enum DiscussionAction {
Show 13 variants
Created,
Edited,
Deleted,
Pinned,
Unpinned,
Locked,
Unlocked,
Transferred,
CategoryChanged,
Answered,
Unanswered,
Labeled,
Unlabeled,
}
Variants§
Created
Edited
Deleted
Pinned
Unpinned
Locked
Unlocked
Transferred
CategoryChanged
Answered
Unanswered
Labeled
Unlabeled
Trait Implementations§
source§impl Clone for DiscussionAction
impl Clone for DiscussionAction
source§fn clone(&self) -> DiscussionAction
fn clone(&self) -> DiscussionAction
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 DiscussionAction
impl Debug for DiscussionAction
source§impl<'de> Deserialize<'de> for DiscussionAction
impl<'de> Deserialize<'de> for DiscussionAction
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 FromStr for DiscussionAction
impl FromStr for DiscussionAction
source§impl PartialEq<DiscussionAction> for DiscussionAction
impl PartialEq<DiscussionAction> for DiscussionAction
source§fn eq(&self, other: &DiscussionAction) -> bool
fn eq(&self, other: &DiscussionAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DiscussionAction
impl Serialize for DiscussionAction
source§impl TryFrom<&str> for DiscussionAction
impl TryFrom<&str> for DiscussionAction
source§impl VariantNames for DiscussionAction
impl VariantNames for DiscussionAction
impl StructuralPartialEq for DiscussionAction
Auto Trait Implementations§
impl RefUnwindSafe for DiscussionAction
impl Send for DiscussionAction
impl Sync for DiscussionAction
impl Unpin for DiscussionAction
impl UnwindSafe for DiscussionAction
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