pub struct WorkLink {
pub kind: WorkLinkKind,
pub source: WorkItemId,
pub target: WorkItemId,
pub note: Option<String>,
}Expand description
Typed non-gating link, identified by its kind and unordered endpoint pair.
Fields§
§kind: WorkLinkKindMeaning of the relationship.
source: WorkItemIdWork item making the statement.
target: WorkItemIdWork item the statement refers to.
note: Option<String>Optional non-empty explanation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkLink
impl<'de> Deserialize<'de> for WorkLink
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 WorkLink
impl StructuralPartialEq for WorkLink
Auto Trait Implementations§
impl Freeze for WorkLink
impl RefUnwindSafe for WorkLink
impl Send for WorkLink
impl Sync for WorkLink
impl Unpin for WorkLink
impl UnsafeUnpin for WorkLink
impl UnwindSafe for WorkLink
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