Struct azure_devops_rust_api::wit::models::CommentMention
source · pub struct CommentMention {
pub work_item_tracking_resource: WorkItemTrackingResource,
pub artifact_id: Option<String>,
pub artifact_type: Option<String>,
pub comment_id: Option<i32>,
pub target_id: Option<String>,
}
Expand description
Fields§
§work_item_tracking_resource: WorkItemTrackingResource
§artifact_id: Option<String>
The artifact portion of the parsed text. (i.e. the work item’s id)
artifact_type: Option<String>
The type the parser assigned to the mention. (i.e. person, work item, etc)
comment_id: Option<i32>
The comment id of the mention.
target_id: Option<String>
The resolved target of the mention. An example of this could be a user’s tfid
Implementations§
source§impl CommentMention
impl CommentMention
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
source§impl Clone for CommentMention
impl Clone for CommentMention
source§fn clone(&self) -> CommentMention
fn clone(&self) -> CommentMention
Returns a copy 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 CommentMention
impl Debug for CommentMention
source§impl<'de> Deserialize<'de> for CommentMention
impl<'de> Deserialize<'de> for CommentMention
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 PartialEq for CommentMention
impl PartialEq for CommentMention
source§fn eq(&self, other: &CommentMention) -> bool
fn eq(&self, other: &CommentMention) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommentMention
impl Serialize for CommentMention
impl StructuralPartialEq for CommentMention
Auto Trait Implementations§
impl Freeze for CommentMention
impl RefUnwindSafe for CommentMention
impl Send for CommentMention
impl Sync for CommentMention
impl Unpin for CommentMention
impl UnwindSafe for CommentMention
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