Enum redmine_api::api::issue_relations::IssueRelationType
source · [−]pub enum IssueRelationType {
Relates,
Duplicates,
Duplicated,
Blocks,
Blocked,
Precedes,
Follows,
CopiedTo,
CopiedFrom,
}Expand description
Type of issue relation
Variants
Relates
The most general type of issue relation
Duplicates
Indicates that the issue duplicates another issue
Duplicated
Indicates that the issue is duplicated by another issue
Blocks
Indicates that the issue blocks another issue
Blocked
Indicates that the issue is blocked by another issue
Precedes
Indicates that the issue precedes another issue
Follows
Indicates that the issue follows another issue
CopiedTo
Indicates that the issue was copied to another issue
CopiedFrom
Indicates that the issue was copied from another issue
Trait Implementations
sourceimpl Clone for IssueRelationType
impl Clone for IssueRelationType
sourcefn clone(&self) -> IssueRelationType
fn clone(&self) -> IssueRelationType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for IssueRelationType
impl Debug for IssueRelationType
sourceimpl<'de> Deserialize<'de> for IssueRelationType
impl<'de> Deserialize<'de> for IssueRelationType
sourcefn 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
sourceimpl Ord for IssueRelationType
impl Ord for IssueRelationType
sourcefn cmp(&self, other: &IssueRelationType) -> Ordering
fn cmp(&self, other: &IssueRelationType) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<IssueRelationType> for IssueRelationType
impl PartialEq<IssueRelationType> for IssueRelationType
sourcefn eq(&self, other: &IssueRelationType) -> bool
fn eq(&self, other: &IssueRelationType) -> bool
sourceimpl PartialOrd<IssueRelationType> for IssueRelationType
impl PartialOrd<IssueRelationType> for IssueRelationType
sourcefn partial_cmp(&self, other: &IssueRelationType) -> Option<Ordering>
fn partial_cmp(&self, other: &IssueRelationType) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl Serialize for IssueRelationType
impl Serialize for IssueRelationType
impl Eq for IssueRelationType
impl StructuralEq for IssueRelationType
impl StructuralPartialEq for IssueRelationType
Auto Trait Implementations
impl RefUnwindSafe for IssueRelationType
impl Send for IssueRelationType
impl Sync for IssueRelationType
impl Unpin for IssueRelationType
impl UnwindSafe for IssueRelationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.