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§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