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