pub struct TemplateOptions {
pub title: String,
pub no_qrcode: bool,
pub no_shutdown: bool,
pub entries: Vec<String>,
pub qrcode_svg: Option<String>,
pub custom_input: bool,
}Expand description
Options for the style’s tera template.
Fields§
§title: StringPage title
no_qrcode: boolDisable QR code from menu page
no_shutdown: boolDisable shutdown from menu page
entries: Vec<String>The entries in the menu
qrcode_svg: Option<String>The QR code svg data
custom_input: boolEnable a custom input field
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TemplateOptions
impl RefUnwindSafe for TemplateOptions
impl Send for TemplateOptions
impl Sync for TemplateOptions
impl Unpin for TemplateOptions
impl UnwindSafe for TemplateOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more