pub enum IssueCommentEditedIssueActiveLockReason {
Resolved,
OffTopic,
TooHeated,
Spam,
}
Expand description
IssueCommentEditedIssueActiveLockReason
JSON schema
{
"type": "string",
"enum": [
"resolved",
"off-topic",
"too heated",
"spam"
]
}
Variants§
Trait Implementations§
Source§impl Clone for IssueCommentEditedIssueActiveLockReason
impl Clone for IssueCommentEditedIssueActiveLockReason
Source§fn clone(&self) -> IssueCommentEditedIssueActiveLockReason
fn clone(&self) -> IssueCommentEditedIssueActiveLockReason
Returns a duplicate 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<'de> Deserialize<'de> for IssueCommentEditedIssueActiveLockReason
impl<'de> Deserialize<'de> for IssueCommentEditedIssueActiveLockReason
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 From<&IssueCommentEditedIssueActiveLockReason> for IssueCommentEditedIssueActiveLockReason
impl From<&IssueCommentEditedIssueActiveLockReason> for IssueCommentEditedIssueActiveLockReason
Source§fn from(value: &IssueCommentEditedIssueActiveLockReason) -> Self
fn from(value: &IssueCommentEditedIssueActiveLockReason) -> Self
Converts to this type from the input type.
Source§impl Ord for IssueCommentEditedIssueActiveLockReason
impl Ord for IssueCommentEditedIssueActiveLockReason
Source§fn cmp(&self, other: &IssueCommentEditedIssueActiveLockReason) -> Ordering
fn cmp(&self, other: &IssueCommentEditedIssueActiveLockReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IssueCommentEditedIssueActiveLockReason
impl PartialEq for IssueCommentEditedIssueActiveLockReason
Source§fn eq(&self, other: &IssueCommentEditedIssueActiveLockReason) -> bool
fn eq(&self, other: &IssueCommentEditedIssueActiveLockReason) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for IssueCommentEditedIssueActiveLockReason
impl PartialOrd for IssueCommentEditedIssueActiveLockReason
impl Copy for IssueCommentEditedIssueActiveLockReason
impl Eq for IssueCommentEditedIssueActiveLockReason
impl StructuralPartialEq for IssueCommentEditedIssueActiveLockReason
Auto Trait Implementations§
impl Freeze for IssueCommentEditedIssueActiveLockReason
impl RefUnwindSafe for IssueCommentEditedIssueActiveLockReason
impl Send for IssueCommentEditedIssueActiveLockReason
impl Sync for IssueCommentEditedIssueActiveLockReason
impl Unpin for IssueCommentEditedIssueActiveLockReason
impl UnwindSafe for IssueCommentEditedIssueActiveLockReason
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