pub struct LoadedTemplate {
pub task: Task,
pub source: TemplateSource,
pub warnings: Vec<TemplateWarning>,
}Expand description
Result of loading a template with context
Fields§
§task: TaskThe task with variables substituted
source: TemplateSourceThe source of the template
warnings: Vec<TemplateWarning>Warnings collected during validation and context detection
Trait Implementations§
Source§impl Clone for LoadedTemplate
impl Clone for LoadedTemplate
Source§fn clone(&self) -> LoadedTemplate
fn clone(&self) -> LoadedTemplate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoadedTemplate
impl RefUnwindSafe for LoadedTemplate
impl Send for LoadedTemplate
impl Sync for LoadedTemplate
impl Unpin for LoadedTemplate
impl UnsafeUnpin for LoadedTemplate
impl UnwindSafe for LoadedTemplate
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