Struct line_messaging_api_rust::templates::TemplateComponent [−][src]
pub struct TemplateComponent { /* fields omitted */ }
Methods
impl TemplateComponent
[src]
impl TemplateComponent
pub fn new(kind: TemplateType, alt_text: &str) -> TemplateComponent
[src]
pub fn new(kind: TemplateType, alt_text: &str) -> TemplateComponent
pub fn create_confirm(text: &str, actions: Vec<Action>) -> TemplateComponent
[src]
pub fn create_confirm(text: &str, actions: Vec<Action>) -> TemplateComponent
pub fn create_carousel(
columns: Vec<TemplateColumn>,
image_aspect_ratio: &str,
image_size: &str
) -> TemplateComponent
[src]
pub fn create_carousel(
columns: Vec<TemplateColumn>,
image_aspect_ratio: &str,
image_size: &str
) -> TemplateComponent
pub fn create_image_carousel(columns: Vec<ImageColumn>) -> TemplateComponent
[src]
pub fn create_image_carousel(columns: Vec<ImageColumn>) -> TemplateComponent
Trait Implementations
impl Clone for TemplateComponent
[src]
impl Clone for TemplateComponent
fn clone(&self) -> TemplateComponent
[src]
fn clone(&self) -> TemplateComponent
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 TemplateComponent
impl Send for TemplateComponent
impl Sync for TemplateComponent
impl Sync for TemplateComponent