pub struct RenderError {
pub code: String,
pub message: String,
pub at: String,
pub file: Option<String>,
}Expand description
a rendering diagnostic: the code, the message, and where — L:C of the tag, or a document path
Fields§
§code: Stringthe code (§5.8)
message: Stringthe message
at: StringL:C of the tag, or a document path
file: Option<String>the file the diagnostic is reported against: the template’s path as given, or None for the module’s
Implementations§
Trait Implementations§
Source§impl Clone for RenderError
impl Clone for RenderError
Auto Trait Implementations§
impl Forget for RenderError
impl Freeze for RenderError
impl Move for RenderError
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnsafeUnpin for RenderError
impl UnwindSafe for RenderError
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