pub trait IntoTemplateProperty<'a> {
    // Required methods
    fn try_into_boolean(
        self
    ) -> Option<Box<dyn TemplateProperty<Output = bool> + 'a>>;
    fn try_into_integer(
        self
    ) -> Option<Box<dyn TemplateProperty<Output = i64> + 'a>>;
    fn try_into_plain_text(
        self
    ) -> Option<Box<dyn TemplateProperty<Output = String> + 'a>>;
    fn try_into_template(self) -> Option<Box<dyn Template + 'a>>;
}
Expand description

Provides access to basic template property types.

Required Methods§

source

fn try_into_boolean( self ) -> Option<Box<dyn TemplateProperty<Output = bool> + 'a>>

source

fn try_into_integer( self ) -> Option<Box<dyn TemplateProperty<Output = i64> + 'a>>

source

fn try_into_plain_text( self ) -> Option<Box<dyn TemplateProperty<Output = String> + 'a>>

source

fn try_into_template(self) -> Option<Box<dyn Template + 'a>>

Implementors§