pub struct TemplateFile {
pub content: Option<Vec<u8>>,
pub metadata: Metadata,
/* private fields */
}
Fields§
§content: Option<Vec<u8>>
§metadata: Metadata
Implementations§
Source§impl TemplateFile
impl TemplateFile
Trait Implementations§
Source§impl Clone for TemplateFile
impl Clone for TemplateFile
Source§fn clone(&self) -> TemplateFile
fn clone(&self) -> TemplateFile
Returns a copy 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 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