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