pub struct MsgType;
Implementations§
Source§impl MsgType
impl MsgType
pub const TEXT: &str = "text"
pub const IMAGE: &str = "image"
pub const VOICE: &str = "voice"
pub const VIDEO: &str = "video"
pub const MINIPROGRAMPAGE: &str = "miniprogrampage"
pub const SHORTVIDEO: &str = "shortvideo"
pub const LOCATION: &str = "location"
pub const LINK: &str = "link"
pub const MUSIC: &str = "music"
pub const NEWS: &str = "news"
pub const TRANSFER: &str = "transfer_customer_service"
pub const EVENT: &str = "event"
Auto Trait Implementations§
impl Freeze for MsgType
impl RefUnwindSafe for MsgType
impl Send for MsgType
impl Sync for MsgType
impl Unpin for MsgType
impl UnwindSafe for MsgType
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