Struct azure_devops_rust_api::wit::models::WorkItemComments
source · pub struct WorkItemComments {
pub work_item_tracking_resource: WorkItemTrackingResource,
pub comments: Vec<WorkItemComment>,
pub count: Option<i32>,
pub from_revision_count: Option<i32>,
pub total_count: Option<i32>,
}Expand description
Collection of comments.
Fields§
§work_item_tracking_resource: WorkItemTrackingResource§comments: Vec<WorkItemComment>Comments collection.
count: Option<i32>The count of comments.
from_revision_count: Option<i32>Count of comments from the revision.
total_count: Option<i32>Total count of comments.
Implementations§
source§impl WorkItemComments
impl WorkItemComments
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
source§impl Clone for WorkItemComments
impl Clone for WorkItemComments
source§fn clone(&self) -> WorkItemComments
fn clone(&self) -> WorkItemComments
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 WorkItemComments
impl Debug for WorkItemComments
source§impl<'de> Deserialize<'de> for WorkItemComments
impl<'de> Deserialize<'de> for WorkItemComments
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 WorkItemComments
impl PartialEq for WorkItemComments
source§fn eq(&self, other: &WorkItemComments) -> bool
fn eq(&self, other: &WorkItemComments) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WorkItemComments
impl Serialize for WorkItemComments
impl StructuralPartialEq for WorkItemComments
Auto Trait Implementations§
impl Freeze for WorkItemComments
impl RefUnwindSafe for WorkItemComments
impl Send for WorkItemComments
impl Sync for WorkItemComments
impl Unpin for WorkItemComments
impl UnwindSafe for WorkItemComments
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