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