#[non_exhaustive]pub enum PrListState {
Open,
Closed,
Merged,
All,
}Expand description
Which pull requests GitHubApi::pr_list_with returns.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Open
Open pull requests (the CLI default).
Closed
Closed, unmerged pull requests.
Merged
Merged pull requests.
All
Pull requests in every state.
Trait Implementations§
Source§impl Clone for PrListState
impl Clone for PrListState
Source§fn clone(&self) -> PrListState
fn clone(&self) -> PrListState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrListState
Source§impl Debug for PrListState
impl Debug for PrListState
Source§impl Default for PrListState
impl Default for PrListState
Source§fn default() -> PrListState
fn default() -> PrListState
Returns the “default value” for a type. Read more
impl Eq for PrListState
Source§impl PartialEq for PrListState
impl PartialEq for PrListState
impl StructuralPartialEq for PrListState
Auto Trait Implementations§
impl Freeze for PrListState
impl RefUnwindSafe for PrListState
impl Send for PrListState
impl Sync for PrListState
impl Unpin for PrListState
impl UnsafeUnpin for PrListState
impl UnwindSafe for PrListState
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