pub enum Plate {
Template(TemplatePlate),
Auto(AutoPlate),
}Expand description
Plate type that can be either template-based or auto
Variants§
Template(TemplatePlate)
Template-based plate using MiniJinja
Auto(AutoPlate)
Auto plate that outputs context as JSON
Implementations§
Source§impl Plate
impl Plate
Auto Trait Implementations§
impl Freeze for Plate
impl RefUnwindSafe for Plate
impl Send for Plate
impl Sync for Plate
impl Unpin for Plate
impl UnwindSafe for Plate
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