pub enum TemplateEscape {
None,
JsonString,
}Expand description
How rendered values are written: as they are, or escaped for a place inside a JSON string, so a message body with quotes keeps a JSON answer valid.
Variants§
Trait Implementations§
Source§impl Clone for TemplateEscape
impl Clone for TemplateEscape
impl Copy for TemplateEscape
Source§impl Debug for TemplateEscape
impl Debug for TemplateEscape
impl Eq for TemplateEscape
Source§impl PartialEq for TemplateEscape
impl PartialEq for TemplateEscape
impl StructuralPartialEq for TemplateEscape
Auto Trait Implementations§
impl Forget for TemplateEscape
impl Freeze for TemplateEscape
impl Move for TemplateEscape
impl RefUnwindSafe for TemplateEscape
impl Send for TemplateEscape
impl Sync for TemplateEscape
impl Unpin for TemplateEscape
impl UnsafeUnpin for TemplateEscape
impl UnwindSafe for TemplateEscape
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