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