Struct tpnote_lib::config::Tmpl  
source · [−]pub struct Tmpl {
    pub compulsory_header_field: String,
    pub new_content: String,
    pub new_filename: String,
    pub from_clipboard_yaml_content: String,
    pub from_clipboard_yaml_filename: String,
    pub from_clipboard_content: String,
    pub from_clipboard_filename: String,
    pub from_text_file_content: String,
    pub from_text_file_filename: String,
    pub annotate_file_content: String,
    pub annotate_file_filename: String,
    pub sync_filename: String,
}Expand description
Filename templates and content templates, deserialized from the configuration file.
Fields
compulsory_header_field: Stringnew_content: Stringnew_filename: Stringfrom_clipboard_yaml_content: Stringfrom_clipboard_yaml_filename: Stringfrom_clipboard_content: Stringfrom_clipboard_filename: Stringfrom_text_file_content: Stringfrom_text_file_filename: Stringannotate_file_content: Stringannotate_file_filename: Stringsync_filename: StringTrait Implementations
sourceimpl<'de> Deserialize<'de> for Tmpl
 
impl<'de> Deserialize<'de> for Tmpl
sourcefn 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 RefUnwindSafe for Tmpl
impl Send for Tmpl
impl Sync for Tmpl
impl Unpin for Tmpl
impl UnwindSafe for Tmpl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more