pub struct UpdateTaskCommentResponseV1 {
pub comment_id: String,
pub content: String,
}Expand description
更新任务评论响应(v1) 更新任务评论响应。
Fields§
§comment_id: String评论 ID
content: String评论内容
Trait Implementations§
Source§impl ApiResponseTrait for UpdateTaskCommentResponseV1
impl ApiResponseTrait for UpdateTaskCommentResponseV1
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
获取响应数据格式
Source§fn requires_payload() -> bool
fn requires_payload() -> bool
成功响应是否必须携带可解码 payload。
() 等无体响应返回 false;默认 true。Source§fn empty_success() -> Option<Self>
fn empty_success() -> Option<Self>
成功且响应体无
data 字段时的显式空成功值。 Read moreSource§impl Clone for UpdateTaskCommentResponseV1
impl Clone for UpdateTaskCommentResponseV1
Source§fn clone(&self) -> UpdateTaskCommentResponseV1
fn clone(&self) -> UpdateTaskCommentResponseV1
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 UpdateTaskCommentResponseV1
impl Debug for UpdateTaskCommentResponseV1
Source§impl<'de> Deserialize<'de> for UpdateTaskCommentResponseV1
impl<'de> Deserialize<'de> for UpdateTaskCommentResponseV1
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
Auto Trait Implementations§
impl Freeze for UpdateTaskCommentResponseV1
impl RefUnwindSafe for UpdateTaskCommentResponseV1
impl Send for UpdateTaskCommentResponseV1
impl Sync for UpdateTaskCommentResponseV1
impl Unpin for UpdateTaskCommentResponseV1
impl UnsafeUnpin for UpdateTaskCommentResponseV1
impl UnwindSafe for UpdateTaskCommentResponseV1
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