pub struct TextMessage {
pub content: String,
pub mentioned_list: Option<MentionTarget>,
pub mentioned_mobile_list: Option<MentionTarget>,
}
Expand description
文本消息
Fields§
§content: String
§mentioned_list: Option<MentionTarget>
§mentioned_mobile_list: Option<MentionTarget>
Trait Implementations§
Source§impl Debug for TextMessage
impl Debug for TextMessage
Auto Trait Implementations§
impl Freeze for TextMessage
impl RefUnwindSafe for TextMessage
impl Send for TextMessage
impl Sync for TextMessage
impl Unpin for TextMessage
impl UnwindSafe for TextMessage
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