pub struct OrgConfig {
pub org_directory: String,
pub org_default_notes_file: String,
pub org_agenda_files: Vec<String>,
pub org_agenda_text_search_extra_files: Vec<String>,
pub org_todo_keywords: Vec<String>,
}Expand description
Core org-mode configuration settings
Fields§
§org_directory: String§org_default_notes_file: String§org_agenda_files: Vec<String>§org_agenda_text_search_extra_files: Vec<String>§org_todo_keywords: Vec<String>Implementations§
Source§impl OrgConfig
impl OrgConfig
Sourcepub fn validate(self) -> Result<Self, OrgModeError>
pub fn validate(self) -> Result<Self, OrgModeError>
Validate and expand paths in the org configuration
pub fn unfinished_keywords(&self) -> Vec<String>
pub fn finished_keywords(&self) -> Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrgConfig
impl<'de> Deserialize<'de> for OrgConfig
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 OrgConfig
impl RefUnwindSafe for OrgConfig
impl Send for OrgConfig
impl Sync for OrgConfig
impl Unpin for OrgConfig
impl UnwindSafe for OrgConfig
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