pub struct CommentData {
pub rpid: u64,
pub rpid_str: String,
pub root: u64,
pub root_str: String,
pub parent: u64,
pub parent_str: String,
pub dialog: u64,
pub dialog_str: String,
pub success_toast: Option<String>,
}Expand description
评论成功返回数据
Fields§
§rpid: u64§rpid_str: String§root: u64§root_str: String§parent: u64§parent_str: String§dialog: u64§dialog_str: String§success_toast: Option<String>Trait Implementations§
Source§impl Clone for CommentData
impl Clone for CommentData
Source§fn clone(&self) -> CommentData
fn clone(&self) -> CommentData
Returns a duplicate of the value. Read more
1.0.0 · 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 CommentData
impl Debug for CommentData
Source§impl<'de> Deserialize<'de> for CommentData
impl<'de> Deserialize<'de> for CommentData
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 CommentData
impl RefUnwindSafe for CommentData
impl Send for CommentData
impl Sync for CommentData
impl Unpin for CommentData
impl UnwindSafe for CommentData
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