pub enum DependencyType {
Show 19 variants
Blocks,
ParentChild,
ConditionalBlocks,
WaitsFor,
Related,
DiscoveredFrom,
RepliesTo,
RelatesTo,
Duplicates,
Supersedes,
AuthoredBy,
AssignedTo,
ApprovedBy,
Attests,
Tracks,
Until,
CausedBy,
Validates,
DelegatedFrom,
}Expand description
The type of relationship between issues.
Variants§
Blocks
Blocks downstream work.
ParentChild
Hierarchical parent-child relationship.
ConditionalBlocks
Conditional blocking.
WaitsFor
Async coordination wait.
Related
Generally related issues.
DiscoveredFrom
Source of discovery.
RepliesTo
Comment thread connection.
RelatesTo
Topical relationship.
Duplicates
Duplicate issues.
Supersedes
Replacement relationship.
AuthoredBy
Creator attribution.
AssignedTo
Work assignment.
ApprovedBy
Approval chain.
Attests
Skill attestation.
Tracks
Tracks external issue.
Until
Depends until condition.
CausedBy
Caused by external event.
Validates
Validates work.
DelegatedFrom
Delegated from another issue.
Implementations§
Source§impl DependencyType
impl DependencyType
Sourcepub fn all() -> &'static [DependencyType]
pub fn all() -> &'static [DependencyType]
All valid dependency types.
Sourcepub fn is_blocking(&self) -> bool
pub fn is_blocking(&self) -> bool
Returns true if this dependency type blocks work.
Sourcepub fn check_cycles(&self) -> bool
pub fn check_cycles(&self) -> bool
Returns true if cycles should be checked for this type.
Trait Implementations§
Source§impl Clone for DependencyType
impl Clone for DependencyType
Source§fn clone(&self) -> DependencyType
fn clone(&self) -> DependencyType
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 DependencyType
impl Debug for DependencyType
Source§impl Default for DependencyType
impl Default for DependencyType
Source§fn default() -> DependencyType
fn default() -> DependencyType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependencyType
impl<'de> Deserialize<'de> for DependencyType
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 Display for DependencyType
impl Display for DependencyType
Source§impl FromStr for DependencyType
impl FromStr for DependencyType
Source§impl Hash for DependencyType
impl Hash for DependencyType
Source§impl PartialEq for DependencyType
impl PartialEq for DependencyType
Source§impl Serialize for DependencyType
impl Serialize for DependencyType
impl Copy for DependencyType
impl Eq for DependencyType
impl StructuralPartialEq for DependencyType
Auto Trait Implementations§
impl Freeze for DependencyType
impl RefUnwindSafe for DependencyType
impl Send for DependencyType
impl Sync for DependencyType
impl Unpin for DependencyType
impl UnwindSafe for DependencyType
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