pub struct TemplateFile {
pub path: String,
pub content: Content,
}Fields§
§path: String§content: ContentTrait Implementations§
Source§impl Clone for TemplateFile
impl Clone for TemplateFile
Source§fn clone(&self) -> TemplateFile
fn clone(&self) -> TemplateFile
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 moreSource§impl Debug for TemplateFile
impl Debug for TemplateFile
Source§impl<'de> Deserialize<'de> for TemplateFile
impl<'de> Deserialize<'de> for TemplateFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TemplateFile
impl RefUnwindSafe for TemplateFile
impl Send for TemplateFile
impl Sync for TemplateFile
impl Unpin for TemplateFile
impl UnwindSafe for TemplateFile
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