Enum line_messaging_api_rust::templates::TemplateType [−][src]
pub enum TemplateType {
Confirm {
text: String,
actions: Vec<Action>,
},
Buttons {
thumbnail_image_url: String,
image_aspect_ratio: String,
image_size: String,
image_background_color: String,
title: String,
text: String,
default_actions: Vec<Action>,
actions: Vec<Action>,
},
Carousel {
columns: Vec<TemplateColumn>,
image_aspect_ratio: String,
image_size: String,
},
ImageCarousel {
columns: Vec<ImageColumn>,
},
}Variants
ConfirmFields of Confirm
text: String | |
actions: Vec<Action> |
ButtonsFields of Buttons
thumbnail_image_url: String | |
image_aspect_ratio: String | |
image_size: String | |
image_background_color: String | |
title: String | |
text: String | |
default_actions: Vec<Action> | |
actions: Vec<Action> |
CarouselFields of Carousel
columns: Vec<TemplateColumn> | |
image_aspect_ratio: String | |
image_size: String |
ImageCarouselFields of ImageCarousel
columns: Vec<ImageColumn> |
Trait Implementations
impl Clone for TemplateType[src]
impl Clone for TemplateTypefn clone(&self) -> TemplateType[src]
fn clone(&self) -> TemplateTypeReturns 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 TemplateType
impl Send for TemplateTypeimpl Sync for TemplateType
impl Sync for TemplateType