pub struct CreateCommentResponse {
pub comment: CreatedComment,
}Expand description
添加全文评论响应
Fields§
§comment: CreatedComment创建的评论信息
Trait Implementations§
Source§impl ApiResponseTrait for CreateCommentResponse
impl ApiResponseTrait for CreateCommentResponse
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
是否是标准数据格式, 既是用data包裹数据
fn from_binary(_file_name: String, _body: Vec<u8>) -> Option<Self>
Source§impl Debug for CreateCommentResponse
impl Debug for CreateCommentResponse
Source§impl<'de> Deserialize<'de> for CreateCommentResponse
impl<'de> Deserialize<'de> for CreateCommentResponse
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 CreateCommentResponse
impl RefUnwindSafe for CreateCommentResponse
impl Send for CreateCommentResponse
impl Sync for CreateCommentResponse
impl Unpin for CreateCommentResponse
impl UnwindSafe for CreateCommentResponse
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