pub trait IntoTemplateProperty<'a> {
// Required methods
fn type_name(&self) -> &'static str;
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.