pub struct ExternalReference {
pub id: ExternalReferenceId,
pub identity: ExternalIdentity,
pub label: String,
pub url: Option<String>,
pub observation: Option<ExternalObservation>,
pub links: BTreeSet<ExternalLink>,
}Expand description
External object known to the workspace, with its display data and local links.
Fields§
§id: ExternalReferenceIdStable local identity; it survives relabeling and namespace changes.
identity: ExternalIdentityProvider identity, unique within the workspace.
label: StringHuman-readable display label; not part of identity.
url: Option<String>Optional browser address on the identity’s instance; not part of identity.
observation: Option<ExternalObservation>Most recent reported external state, if any.
links: BTreeSet<ExternalLink>Linked work; at most one link per work item and one Tracks link overall.
Implementations§
Source§impl ExternalReference
impl ExternalReference
Sourcepub fn tracking_owner(&self) -> Option<WorkItemId>
pub fn tracking_owner(&self) -> Option<WorkItemId>
The work item that tracks this external object, if any.
Trait Implementations§
Source§impl Clone for ExternalReference
impl Clone for ExternalReference
Source§impl Debug for ExternalReference
impl Debug for ExternalReference
Source§impl<'de> Deserialize<'de> for ExternalReference
impl<'de> Deserialize<'de> for ExternalReference
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 ExternalReference
Source§impl PartialEq for ExternalReference
impl PartialEq for ExternalReference
Source§impl Serialize for ExternalReference
impl Serialize for ExternalReference
impl StructuralPartialEq for ExternalReference
Auto Trait Implementations§
impl Freeze for ExternalReference
impl RefUnwindSafe for ExternalReference
impl Send for ExternalReference
impl Sync for ExternalReference
impl Unpin for ExternalReference
impl UnsafeUnpin for ExternalReference
impl UnwindSafe for ExternalReference
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