pub enum PullRequestConvertedToDraftPullRequestState {
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 PullRequestConvertedToDraftPullRequestState
impl Clone for PullRequestConvertedToDraftPullRequestState
Source§fn clone(&self) -> PullRequestConvertedToDraftPullRequestState
fn clone(&self) -> PullRequestConvertedToDraftPullRequestState
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 PullRequestConvertedToDraftPullRequestState
impl<'de> Deserialize<'de> for PullRequestConvertedToDraftPullRequestState
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<&PullRequestConvertedToDraftPullRequestState> for PullRequestConvertedToDraftPullRequestState
impl From<&PullRequestConvertedToDraftPullRequestState> for PullRequestConvertedToDraftPullRequestState
Source§fn from(value: &PullRequestConvertedToDraftPullRequestState) -> Self
fn from(value: &PullRequestConvertedToDraftPullRequestState) -> Self
Converts to this type from the input type.
Source§impl Ord for PullRequestConvertedToDraftPullRequestState
impl Ord for PullRequestConvertedToDraftPullRequestState
Source§fn cmp(&self, other: &PullRequestConvertedToDraftPullRequestState) -> Ordering
fn cmp(&self, other: &PullRequestConvertedToDraftPullRequestState) -> 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 PullRequestConvertedToDraftPullRequestState
impl PartialEq for PullRequestConvertedToDraftPullRequestState
Source§fn eq(&self, other: &PullRequestConvertedToDraftPullRequestState) -> bool
fn eq(&self, other: &PullRequestConvertedToDraftPullRequestState) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for PullRequestConvertedToDraftPullRequestState
impl PartialOrd for PullRequestConvertedToDraftPullRequestState
impl Copy for PullRequestConvertedToDraftPullRequestState
impl Eq for PullRequestConvertedToDraftPullRequestState
impl StructuralPartialEq for PullRequestConvertedToDraftPullRequestState
Auto Trait Implementations§
impl Freeze for PullRequestConvertedToDraftPullRequestState
impl RefUnwindSafe for PullRequestConvertedToDraftPullRequestState
impl Send for PullRequestConvertedToDraftPullRequestState
impl Sync for PullRequestConvertedToDraftPullRequestState
impl Unpin for PullRequestConvertedToDraftPullRequestState
impl UnwindSafe for PullRequestConvertedToDraftPullRequestState
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