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
Confirm
Fields of Confirm
text: String | |
actions: Vec<Action> |
Buttons
Fields 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> |
Carousel
Fields of Carousel
columns: Vec<TemplateColumn> | |
image_aspect_ratio: String | |
image_size: String |
ImageCarousel
Fields of ImageCarousel
columns: Vec<ImageColumn> |
Trait Implementations
impl Clone for TemplateType
[src]
impl Clone for TemplateType
fn clone(&self) -> TemplateType
[src]
fn clone(&self) -> TemplateType
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 TemplateType
impl Send for TemplateType
impl Sync for TemplateType
impl Sync for TemplateType