#[non_exhaustive]pub enum ForgeIssueState {
Open,
Closed,
}Expand description
The normalised state of a ForgeIssue, unifying GitHub’s OPEN/CLOSED,
GitLab’s opened/closed, and Gitea’s open/closed. An unknown state
reads as Open — a state we don’t model is treated
as live, never silently as resolved.
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.
Trait Implementations§
Source§impl Clone for ForgeIssueState
impl Clone for ForgeIssueState
Source§fn clone(&self) -> ForgeIssueState
fn clone(&self) -> ForgeIssueState
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 ForgeIssueState
Source§impl Debug for ForgeIssueState
impl Debug for ForgeIssueState
impl Eq for ForgeIssueState
Source§impl PartialEq for ForgeIssueState
impl PartialEq for ForgeIssueState
Source§fn eq(&self, other: &ForgeIssueState) -> bool
fn eq(&self, other: &ForgeIssueState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ForgeIssueState
impl Serialize for ForgeIssueState
impl StructuralPartialEq for ForgeIssueState
Auto Trait Implementations§
impl Freeze for ForgeIssueState
impl RefUnwindSafe for ForgeIssueState
impl Send for ForgeIssueState
impl Sync for ForgeIssueState
impl Unpin for ForgeIssueState
impl UnsafeUnpin for ForgeIssueState
impl UnwindSafe for ForgeIssueState
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