[][src]Struct tp_note::config::Cfg

pub struct Cfg {
    pub note_extension: String,
    pub tmpl_new_content: String,
    pub tmpl_new_filename: String,
    pub tmpl_clipboard_content: String,
    pub tmpl_clipboard_filename: String,
    pub tmpl_annotate_content: String,
    pub tmpl_annotate_filename: String,
    pub tmpl_sync_filename: String,
    pub editor_args: Vec<Vec<String>>,
    pub viewer_args: Vec<Vec<String>>,
    pub enable_read_clipboard: bool,
    pub enable_empty_clipboard: bool,

Configuration data, deserialized from the configuration-file.


note_extension: Stringtmpl_new_content: Stringtmpl_new_filename: Stringtmpl_clipboard_content: Stringtmpl_clipboard_filename: Stringtmpl_annotate_content: Stringtmpl_annotate_filename: Stringtmpl_sync_filename: Stringeditor_args: Vec<Vec<String>>viewer_args: Vec<Vec<String>>enable_read_clipboard: boolenable_empty_clipboard: bool

Trait Implementations

impl Debug for Cfg[src]

impl Default for Cfg[src]

When no configuration-file is found, defaults are set here from built-in constants. These defaults are then serialized into a newly created configuration file on disk.

impl<'de> Deserialize<'de> for Cfg[src]

impl Serialize for Cfg[src]

Auto Trait Implementations

impl RefUnwindSafe for Cfg

impl Send for Cfg

impl Sync for Cfg

impl Unpin for Cfg

impl UnwindSafe for Cfg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,