Struct tpnote_lib::config::Tmpl
source · pub struct Tmpl {Show 14 fields
pub filter_get_lang: Vec<String>,
pub filter_map_lang: Vec<Vec<String>>,
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§
§filter_get_lang: Vec<String>§filter_map_lang: Vec<Vec<String>>§compulsory_header_field: String§new_content: String§new_filename: String§from_clipboard_yaml_content: String§from_clipboard_yaml_filename: String§from_clipboard_content: String§from_clipboard_filename: String§from_text_file_content: String§from_text_file_filename: String§annotate_file_content: String§annotate_file_filename: String§sync_filename: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for Tmpl
impl<'de> Deserialize<'de> for Tmpl
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 RefUnwindSafe for Tmpl
impl Send for Tmpl
impl Sync for Tmpl
impl Unpin for Tmpl
impl UnwindSafe for Tmpl
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