pub struct CompiledTemplate {
pub template: String,
pub variables: Vec<String>,
pub compiled_at: Instant,
}
Fields§
§template: String
§variables: Vec<String>
§compiled_at: Instant
Trait Implementations§
Source§impl Clone for CompiledTemplate
impl Clone for CompiledTemplate
Source§fn clone(&self) -> CompiledTemplate
fn clone(&self) -> CompiledTemplate
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 CompiledTemplate
impl RefUnwindSafe for CompiledTemplate
impl Send for CompiledTemplate
impl Sync for CompiledTemplate
impl Unpin for CompiledTemplate
impl UnwindSafe for CompiledTemplate
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