pub struct TaskCommentList {
pub comments: Vec<TaskComment>,
pub total: i32,
}Fields§
§comments: Vec<TaskComment>§total: i32Implementations§
Source§impl TaskCommentList
impl TaskCommentList
pub fn new(comments: Vec<TaskComment>, total: i32) -> TaskCommentList
Trait Implementations§
Source§impl Clone for TaskCommentList
impl Clone for TaskCommentList
Source§fn clone(&self) -> TaskCommentList
fn clone(&self) -> TaskCommentList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskCommentList
impl Debug for TaskCommentList
Source§impl Default for TaskCommentList
impl Default for TaskCommentList
Source§fn default() -> TaskCommentList
fn default() -> TaskCommentList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskCommentList
impl<'de> Deserialize<'de> for TaskCommentList
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 TaskCommentList
impl PartialEq for TaskCommentList
Source§fn eq(&self, other: &TaskCommentList) -> bool
fn eq(&self, other: &TaskCommentList) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TaskCommentList
impl Serialize for TaskCommentList
impl StructuralPartialEq for TaskCommentList
Auto Trait Implementations§
impl Freeze for TaskCommentList
impl RefUnwindSafe for TaskCommentList
impl Send for TaskCommentList
impl Sync for TaskCommentList
impl Unpin for TaskCommentList
impl UnsafeUnpin for TaskCommentList
impl UnwindSafe for TaskCommentList
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