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