Enum line_messaging_api_rust::messages::LineMessageType [−][src]
pub enum LineMessageType { Text { text: String, }, Image { original_content_url: String, preview_image_url: String, }, Video { original_content_url: String, preview_image_url: String, }, Audio { original_content_url: String, duration: u64, }, Location { title: String, address: String, latitude: f64, longitude: f64, }, File { file_name: String, file_size: u64, }, Sticker { package_id: String, sticker_id: String, }, Imagemap { base_url: String, alt_text: String, base_size: BaseSize, actions: Vec<ImagemapAction>, }, Template { alt_text: String, template: TemplateComponent, }, Flex { alt_text: String, contents: FlexContainer, }, }
Variants
Text
Fields of Text
text: String |
Image
Fields of Image
original_content_url: String | |
preview_image_url: String |
Video
Fields of Video
original_content_url: String | |
preview_image_url: String |
Audio
Fields of Audio
original_content_url: String | |
duration: u64 |
Location
Fields of Location
title: String | |
address: String | |
latitude: f64 | |
longitude: f64 |
File
Fields of File
file_name: String | |
file_size: u64 |
Sticker
Fields of Sticker
package_id: String | |
sticker_id: String |
Imagemap
Fields of Imagemap
base_url: String | |
alt_text: String | |
base_size: BaseSize | |
actions: Vec<ImagemapAction> |
Template
Fields of Template
alt_text: String | |
template: TemplateComponent |
Flex
Fields of Flex
alt_text: String | |
contents: FlexContainer |
Trait Implementations
impl Clone for LineMessageType
[src]
impl Clone for LineMessageType
fn clone(&self) -> LineMessageType
[src]
fn clone(&self) -> LineMessageType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for LineMessageType
impl Send for LineMessageType
impl Sync for LineMessageType
impl Sync for LineMessageType