pub struct CommentList {
pub work_item_tracking_resource: WorkItemTrackingResource,
pub comments: Vec<Comment>,
pub continuation_token: Option<String>,
pub count: Option<i32>,
pub next_page: Option<String>,
pub total_count: Option<i32>,
}Expand description
Represents a list of work item comments.
Fields§
§work_item_tracking_resource: WorkItemTrackingResource§comments: Vec<Comment>List of comments in the current batch.
continuation_token: Option<String>A string token that can be used to retrieving next page of comments if available. Otherwise null.
count: Option<i32>The count of comments in the current batch.
next_page: Option<String>Uri to the next page of comments if it is available. Otherwise null.
total_count: Option<i32>Total count of comments on a work item.
Implementations§
Source§impl CommentList
impl CommentList
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
Source§impl Clone for CommentList
impl Clone for CommentList
Source§fn clone(&self) -> CommentList
fn clone(&self) -> CommentList
Returns a duplicate 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 CommentList
impl Debug for CommentList
Source§impl<'de> Deserialize<'de> for CommentList
impl<'de> Deserialize<'de> for CommentList
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 CommentList
impl PartialEq for CommentList
Source§impl Serialize for CommentList
impl Serialize for CommentList
impl StructuralPartialEq for CommentList
Auto Trait Implementations§
impl Freeze for CommentList
impl RefUnwindSafe for CommentList
impl Send for CommentList
impl Sync for CommentList
impl Unpin for CommentList
impl UnwindSafe for CommentList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more