pub struct PostContent {
pub post: String,
}Expand description
富文本消息内容
Fields§
§post: String富文本 JSON 字符串
Implementations§
Trait Implementations§
Source§impl Clone for PostContent
impl Clone for PostContent
Source§fn clone(&self) -> PostContent
fn clone(&self) -> PostContent
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 PostContent
impl Debug for PostContent
Source§impl<'de> Deserialize<'de> for PostContent
impl<'de> Deserialize<'de> for PostContent
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 PostContent
impl RefUnwindSafe for PostContent
impl Send for PostContent
impl Sync for PostContent
impl Unpin for PostContent
impl UnsafeUnpin for PostContent
impl UnwindSafe for PostContent
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