pub enum CustomerServiceMessage {
Text {
touser: String,
text: TextContent,
},
Image {
touser: String,
image: MediaContent,
},
Voice {
touser: String,
voice: MediaContent,
},
Video {
touser: String,
video: VideoContent,
},
Music {
touser: String,
music: MusicContent,
},
News {
touser: String,
news: NewsContent,
},
MpNews {
touser: String,
mpnews: MediaContent,
},
MsgMenu {
touser: String,
msgmenu: MsgMenuContent,
},
}Expand description
Customer service message types.
Variants§
Trait Implementations§
Source§impl Clone for CustomerServiceMessage
impl Clone for CustomerServiceMessage
Source§fn clone(&self) -> CustomerServiceMessage
fn clone(&self) -> CustomerServiceMessage
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 CustomerServiceMessage
impl Debug for CustomerServiceMessage
Auto Trait Implementations§
impl Freeze for CustomerServiceMessage
impl RefUnwindSafe for CustomerServiceMessage
impl Send for CustomerServiceMessage
impl Sync for CustomerServiceMessage
impl Unpin for CustomerServiceMessage
impl UnwindSafe for CustomerServiceMessage
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