pub struct Reply {
pub reply_id: String,
pub user_id: String,
pub create_time: i64,
pub update_time: i64,
pub content: ReplyContent,
pub extra: Option<Value>,
}Expand description
回复信息
Fields§
§reply_id: String回复ID
user_id: String用户ID
create_time: i64创建时间(毫秒时间戳)
update_time: i64更新时间(毫秒时间戳)
content: ReplyContent回复内容
extra: Option<Value>额外字段
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reply
impl<'de> Deserialize<'de> for Reply
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 Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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