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: 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