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