pub struct CustomTemplate {
pub name: String,
pub description: String,
pub template_path: String,
pub variables: Vec<TemplateVariable>,
pub created_at: DateTime<Utc>,
}
Expand description
Custom template definition
Fields§
§name: String
Name of the template
description: String
Description of what this template does
template_path: String
Path to the template file
variables: Vec<TemplateVariable>
Variables that can be customized in this template
created_at: DateTime<Utc>
When this template was created
Trait Implementations§
Source§impl Clone for CustomTemplate
impl Clone for CustomTemplate
Source§fn clone(&self) -> CustomTemplate
fn clone(&self) -> CustomTemplate
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 CustomTemplate
impl Debug for CustomTemplate
Source§impl<'de> Deserialize<'de> for CustomTemplate
impl<'de> Deserialize<'de> for CustomTemplate
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 CustomTemplate
impl RefUnwindSafe for CustomTemplate
impl Send for CustomTemplate
impl Sync for CustomTemplate
impl Unpin for CustomTemplate
impl UnwindSafe for CustomTemplate
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