pub enum DiscussionCommentAction {
Created,
Edited,
Deleted,
}
Variants§
Trait Implementations§
source§impl Clone for DiscussionCommentAction
impl Clone for DiscussionCommentAction
source§fn clone(&self) -> DiscussionCommentAction
fn clone(&self) -> DiscussionCommentAction
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 DiscussionCommentAction
impl Debug for DiscussionCommentAction
source§impl<'de> Deserialize<'de> for DiscussionCommentAction
impl<'de> Deserialize<'de> for DiscussionCommentAction
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 DiscussionCommentAction
impl FromStr for DiscussionCommentAction
source§impl PartialEq<DiscussionCommentAction> for DiscussionCommentAction
impl PartialEq<DiscussionCommentAction> for DiscussionCommentAction
source§fn eq(&self, other: &DiscussionCommentAction) -> bool
fn eq(&self, other: &DiscussionCommentAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DiscussionCommentAction
impl Serialize for DiscussionCommentAction
source§impl TryFrom<&str> for DiscussionCommentAction
impl TryFrom<&str> for DiscussionCommentAction
source§impl VariantNames for DiscussionCommentAction
impl VariantNames for DiscussionCommentAction
impl StructuralPartialEq for DiscussionCommentAction
Auto Trait Implementations§
impl RefUnwindSafe for DiscussionCommentAction
impl Send for DiscussionCommentAction
impl Sync for DiscussionCommentAction
impl Unpin for DiscussionCommentAction
impl UnwindSafe for DiscussionCommentAction
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