pub struct CommentBlock {
pub text: String,
pub attributes: CommentAttributes,
}Expand description
One run in a ClickUp comment’s comment array.
attributes is omitted from the wire payload when empty so the request
mirrors what the ClickUp UI itself sends.
Fields§
§text: String§attributes: CommentAttributesTrait Implementations§
Source§impl Clone for CommentBlock
impl Clone for CommentBlock
Source§fn clone(&self) -> CommentBlock
fn clone(&self) -> CommentBlock
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 CommentBlock
impl Debug for CommentBlock
Source§impl PartialEq for CommentBlock
impl PartialEq for CommentBlock
Source§fn eq(&self, other: &CommentBlock) -> bool
fn eq(&self, other: &CommentBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommentBlock
impl Serialize for CommentBlock
impl StructuralPartialEq for CommentBlock
Auto Trait Implementations§
impl Freeze for CommentBlock
impl RefUnwindSafe for CommentBlock
impl Send for CommentBlock
impl Sync for CommentBlock
impl Unpin for CommentBlock
impl UnsafeUnpin for CommentBlock
impl UnwindSafe for CommentBlock
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