pub struct AppDirectoryOverrides {
pub config: Option<PathBuf>,
pub data: Option<PathBuf>,
pub local_data: Option<PathBuf>,
pub cache: Option<PathBuf>,
pub log: Option<PathBuf>,
}Expand description
Overrides for individual app directories.
Fields§
§config: Option<PathBuf>Overrides the app config directory (app_config_dir, $APPCONFIG).
data: Option<PathBuf>Overrides the app data directory (app_data_dir, $APPDATA).
local_data: Option<PathBuf>Overrides the app local data directory (app_local_data_dir, $APPLOCALDATA).
On Windows and Linux this is also the default data directory of the webviews.
cache: Option<PathBuf>Overrides the app cache directory (app_cache_dir, $APPCACHE).
log: Option<PathBuf>Overrides the app log directory (app_log_dir, $APPLOG).
Trait Implementations§
Source§impl Clone for AppDirectoryOverrides
impl Clone for AppDirectoryOverrides
Source§impl Debug for AppDirectoryOverrides
impl Debug for AppDirectoryOverrides
Source§impl Default for AppDirectoryOverrides
impl Default for AppDirectoryOverrides
Source§impl<'de> Deserialize<'de> for AppDirectoryOverrides
impl<'de> Deserialize<'de> for AppDirectoryOverrides
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
impl Eq for AppDirectoryOverrides
Source§impl PartialEq for AppDirectoryOverrides
impl PartialEq for AppDirectoryOverrides
Source§impl Serialize for AppDirectoryOverrides
impl Serialize for AppDirectoryOverrides
impl StructuralPartialEq for AppDirectoryOverrides
Auto Trait Implementations§
impl Freeze for AppDirectoryOverrides
impl RefUnwindSafe for AppDirectoryOverrides
impl Send for AppDirectoryOverrides
impl Sync for AppDirectoryOverrides
impl Unpin for AppDirectoryOverrides
impl UnsafeUnpin for AppDirectoryOverrides
impl UnwindSafe for AppDirectoryOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.