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