Struct azure_devops_rust_api::wiki::models::CommentMention
source · pub struct CommentMention {
pub comment_resource_reference: CommentResourceReference,
pub artifact_id: Option<String>,
pub comment_id: Option<i32>,
pub mentioned_artifact: Option<String>,
pub type_: Option<Type>,
}
Expand description
Contains information about various artifacts mentioned in the comment
Fields§
§comment_resource_reference: CommentResourceReference
§artifact_id: Option<String>
Id of the artifact this mention belongs to
comment_id: Option<i32>
Id of the comment associated with this mention. Nullable to support legacy mentions which can potentially have null commentId
mentioned_artifact: Option<String>
Value of the mentioned artifact. Expected Value varies by CommentMentionType: Person: VSID associated with the identity Work Item: ID of the work item Pull Request: ID of the Pull Request
type_: Option<Type>
The context which represent where this mentioned was parsed from
Implementations§
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 Default for CommentMention
impl Default for CommentMention
source§fn default() -> CommentMention
fn default() -> CommentMention
Returns the “default value” for a type. Read more
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