pub struct DeleteReplyResponse {
pub reply: DeletedReply,
}Expand description
删除回复响应
Fields§
§reply: DeletedReply删除的回复信息
Implementations§
Source§impl DeleteReplyResponse
impl DeleteReplyResponse
Sourcepub fn comment_id(&self) -> &str
pub fn comment_id(&self) -> &str
获取评论ID
Sourcepub fn delete_time(&self) -> Option<i64>
pub fn delete_time(&self) -> Option<i64>
获取删除时间
Sourcepub fn deleter_user_id(&self) -> Option<&str>
pub fn deleter_user_id(&self) -> Option<&str>
获取删除者用户ID
Sourcepub fn is_deleted(&self) -> bool
pub fn is_deleted(&self) -> bool
是否成功删除
Sourcepub fn success_summary(&self) -> String
pub fn success_summary(&self) -> String
获取删除成功的摘要信息
Sourcepub fn detailed_info(&self) -> String
pub fn detailed_info(&self) -> String
获取详细的删除信息
Trait Implementations§
Source§impl ApiResponseTrait for DeleteReplyResponse
impl ApiResponseTrait for DeleteReplyResponse
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 DeleteReplyResponse
impl Debug for DeleteReplyResponse
Source§impl<'de> Deserialize<'de> for DeleteReplyResponse
impl<'de> Deserialize<'de> for DeleteReplyResponse
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 DeleteReplyResponse
impl RefUnwindSafe for DeleteReplyResponse
impl Send for DeleteReplyResponse
impl Sync for DeleteReplyResponse
impl Unpin for DeleteReplyResponse
impl UnwindSafe for DeleteReplyResponse
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