pub struct ExternalLinkRequest {
pub work: WorkItemId,
pub reference: ExternalReferenceId,
pub identity: ExternalIdentity,
pub label: String,
pub url: Option<String>,
pub role: ExternalLinkRole,
pub observed: Option<ExternalState>,
}Expand description
Link request recording the resolved reference identifier so the operation log is explicit.
Fields§
§work: WorkItemIdWork receiving the link.
reference: ExternalReferenceIdThe recorded reference for this identity, or a new identifier when none exists.
identity: ExternalIdentityCanonical provider identity.
label: StringDisplay label; replaces the recorded label without changing identity.
url: Option<String>Optional display URL; replaces the recorded URL without changing identity.
role: ExternalLinkRoleRelationship of the work to the external object.
observed: Option<ExternalState>Optional external state reported by the caller; recorded as an observation only.
Trait Implementations§
Source§impl Clone for ExternalLinkRequest
impl Clone for ExternalLinkRequest
Source§impl Debug for ExternalLinkRequest
impl Debug for ExternalLinkRequest
Source§impl<'de> Deserialize<'de> for ExternalLinkRequest
impl<'de> Deserialize<'de> for ExternalLinkRequest
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
Auto Trait Implementations§
impl Freeze for ExternalLinkRequest
impl RefUnwindSafe for ExternalLinkRequest
impl Send for ExternalLinkRequest
impl Sync for ExternalLinkRequest
impl Unpin for ExternalLinkRequest
impl UnsafeUnpin for ExternalLinkRequest
impl UnwindSafe for ExternalLinkRequest
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