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