pub enum PullRequestDemilestonedPullRequestState {
Open,
Closed,
}
Expand description
State of this Pull Request. Either open
or closed
.
JSON schema
{
"description": "State of this Pull Request. Either `open` or `closed`.",
"type": "string",
"enum": [
"open",
"closed"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PullRequestDemilestonedPullRequestState
impl Clone for PullRequestDemilestonedPullRequestState
Source§fn clone(&self) -> PullRequestDemilestonedPullRequestState
fn clone(&self) -> PullRequestDemilestonedPullRequestState
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 PullRequestDemilestonedPullRequestState
impl<'de> Deserialize<'de> for PullRequestDemilestonedPullRequestState
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<&PullRequestDemilestonedPullRequestState> for PullRequestDemilestonedPullRequestState
impl From<&PullRequestDemilestonedPullRequestState> for PullRequestDemilestonedPullRequestState
Source§fn from(value: &PullRequestDemilestonedPullRequestState) -> Self
fn from(value: &PullRequestDemilestonedPullRequestState) -> Self
Converts to this type from the input type.
Source§impl Ord for PullRequestDemilestonedPullRequestState
impl Ord for PullRequestDemilestonedPullRequestState
Source§fn cmp(&self, other: &PullRequestDemilestonedPullRequestState) -> Ordering
fn cmp(&self, other: &PullRequestDemilestonedPullRequestState) -> 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 PullRequestDemilestonedPullRequestState
impl PartialEq for PullRequestDemilestonedPullRequestState
Source§fn eq(&self, other: &PullRequestDemilestonedPullRequestState) -> bool
fn eq(&self, other: &PullRequestDemilestonedPullRequestState) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for PullRequestDemilestonedPullRequestState
impl PartialOrd for PullRequestDemilestonedPullRequestState
impl Copy for PullRequestDemilestonedPullRequestState
impl Eq for PullRequestDemilestonedPullRequestState
impl StructuralPartialEq for PullRequestDemilestonedPullRequestState
Auto Trait Implementations§
impl Freeze for PullRequestDemilestonedPullRequestState
impl RefUnwindSafe for PullRequestDemilestonedPullRequestState
impl Send for PullRequestDemilestonedPullRequestState
impl Sync for PullRequestDemilestonedPullRequestState
impl Unpin for PullRequestDemilestonedPullRequestState
impl UnwindSafe for PullRequestDemilestonedPullRequestState
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