pub struct DynamicContentItem {
pub type_num: u8,
pub biz_id: Option<String>,
pub raw_text: String,
}Expand description
动态内容组件
Fields§
§type_num: u8组件类型 ID,例如 @用户
biz_id: Option<String>组件的内容 ID,例如用户的 mid
raw_text: String文本内容
Trait Implementations§
Source§impl Clone for DynamicContentItem
impl Clone for DynamicContentItem
Source§fn clone(&self) -> DynamicContentItem
fn clone(&self) -> DynamicContentItem
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 DynamicContentItem
impl Debug for DynamicContentItem
Source§impl<'de> Deserialize<'de> for DynamicContentItem
impl<'de> Deserialize<'de> for DynamicContentItem
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 DynamicContentItem
impl RefUnwindSafe for DynamicContentItem
impl Send for DynamicContentItem
impl Sync for DynamicContentItem
impl Unpin for DynamicContentItem
impl UnsafeUnpin for DynamicContentItem
impl UnwindSafe for DynamicContentItem
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