pub struct CommentList {
pub comments: Vec<Comment>,
}Expand description
Every comment on one task, oldest first: what task comment list answers with.
An object rather than a bare list, so a later member — a total, say — is an addition a reader already written against this shape can ignore.
Fields§
§comments: Vec<Comment>The task’s comments in the order they were written. Empty when it has none.
Trait Implementations§
Source§impl Clone for CommentList
impl Clone for CommentList
Source§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 JsonSchema for CommentList
impl JsonSchema for CommentList
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§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 UnsafeUnpin 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