pub enum SimplePullRequestState {
Open,
Closed,
}
Expand description
SimplePullRequestState
JSON schema
{
"type": "string",
"enum": [
"open",
"closed"
]
}
Variants§
Trait Implementations§
Source§impl Clone for SimplePullRequestState
impl Clone for SimplePullRequestState
Source§fn clone(&self) -> SimplePullRequestState
fn clone(&self) -> SimplePullRequestState
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 SimplePullRequestState
impl Debug for SimplePullRequestState
Source§impl<'de> Deserialize<'de> for SimplePullRequestState
impl<'de> Deserialize<'de> for SimplePullRequestState
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<&SimplePullRequestState> for SimplePullRequestState
impl From<&SimplePullRequestState> for SimplePullRequestState
Source§fn from(value: &SimplePullRequestState) -> Self
fn from(value: &SimplePullRequestState) -> Self
Converts to this type from the input type.
Source§impl FromStr for SimplePullRequestState
impl FromStr for SimplePullRequestState
Source§impl Hash for SimplePullRequestState
impl Hash for SimplePullRequestState
Source§impl Ord for SimplePullRequestState
impl Ord for SimplePullRequestState
Source§fn cmp(&self, other: &SimplePullRequestState) -> Ordering
fn cmp(&self, other: &SimplePullRequestState) -> 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 SimplePullRequestState
impl PartialEq for SimplePullRequestState
Source§impl PartialOrd for SimplePullRequestState
impl PartialOrd for SimplePullRequestState
Source§impl Serialize for SimplePullRequestState
impl Serialize for SimplePullRequestState
Source§impl ToString for SimplePullRequestState
impl ToString for SimplePullRequestState
Source§impl TryFrom<&String> for SimplePullRequestState
impl TryFrom<&String> for SimplePullRequestState
Source§impl TryFrom<&str> for SimplePullRequestState
impl TryFrom<&str> for SimplePullRequestState
Source§impl TryFrom<String> for SimplePullRequestState
impl TryFrom<String> for SimplePullRequestState
impl Copy for SimplePullRequestState
impl Eq for SimplePullRequestState
impl StructuralPartialEq for SimplePullRequestState
Auto Trait Implementations§
impl Freeze for SimplePullRequestState
impl RefUnwindSafe for SimplePullRequestState
impl Send for SimplePullRequestState
impl Sync for SimplePullRequestState
impl Unpin for SimplePullRequestState
impl UnwindSafe for SimplePullRequestState
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