#[non_exhaustive]pub enum IssueRelationType {
Blocks,
Duplicate,
Related,
Similar,
Unrecognized(String),
}Expand description
The kind of an issue relation.
There is no blockedBy value — direction is positional:
issueId blocks relatedIssueId in issueRelationCreate.
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.
Blocks
The issue blocks the related issue.
Duplicate
The issue duplicates the related issue.
Related
The issues are related.
Similar
The issues are similar.
Unrecognized(String)
A wire value this crate does not know about (server-added variants deserialize here instead of failing).
Trait Implementations§
Source§impl Clone for IssueRelationType
impl Clone for IssueRelationType
Source§fn clone(&self) -> IssueRelationType
fn clone(&self) -> IssueRelationType
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 moreSource§impl Debug for IssueRelationType
impl Debug for IssueRelationType
Source§impl<'de> Deserialize<'de> for IssueRelationType
impl<'de> Deserialize<'de> for IssueRelationType
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
impl Eq for IssueRelationType
Source§impl From<IssueRelationType> for String
impl From<IssueRelationType> for String
Source§fn from(v: IssueRelationType) -> String
fn from(v: IssueRelationType) -> String
Converts to this type from the input type.
Source§impl From<String> for IssueRelationType
impl From<String> for IssueRelationType
Source§impl PartialEq for IssueRelationType
impl PartialEq for IssueRelationType
Source§fn eq(&self, other: &IssueRelationType) -> bool
fn eq(&self, other: &IssueRelationType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IssueRelationType
impl Serialize for IssueRelationType
impl StructuralPartialEq for IssueRelationType
Auto Trait Implementations§
impl Freeze for IssueRelationType
impl RefUnwindSafe for IssueRelationType
impl Send for IssueRelationType
impl Sync for IssueRelationType
impl Unpin for IssueRelationType
impl UnsafeUnpin for IssueRelationType
impl UnwindSafe for IssueRelationType
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