pub struct Template {
pub elements: Vec<Element>,
pub source: TemplateSource,
}Expand description
A parsed template consisting of a sequence of literal SQL and macro invocations.
Fields§
§elements: Vec<Element>The ordered elements that make up this template.
source: TemplateSourceWhere this template originated from.
Trait Implementations§
impl StructuralPartialEq for Template
Auto Trait Implementations§
impl Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnsafeUnpin for Template
impl UnwindSafe for Template
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