pub struct ReplyContent {
pub elements: Vec<ContentElement>,
}Expand description
回复内容
Fields§
§elements: Vec<ContentElement>元素列表
Trait Implementations§
Source§impl Clone for ReplyContent
impl Clone for ReplyContent
Source§fn clone(&self) -> ReplyContent
fn clone(&self) -> ReplyContent
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 ReplyContent
impl Debug for ReplyContent
Source§impl Default for ReplyContent
impl Default for ReplyContent
Source§fn default() -> ReplyContent
fn default() -> ReplyContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplyContent
impl<'de> Deserialize<'de> for ReplyContent
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 ReplyContent
impl RefUnwindSafe for ReplyContent
impl Send for ReplyContent
impl Sync for ReplyContent
impl Unpin for ReplyContent
impl UnwindSafe for ReplyContent
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