pub struct PathEnvOverrides {
pub home: Option<PathBuf>,
pub config_dir: Option<PathBuf>,
pub data_dir: Option<PathBuf>,
pub state_dir: Option<PathBuf>,
pub cache_dir: Option<PathBuf>,
pub log_dir: Option<PathBuf>,
pub temp_dir: Option<PathBuf>,
pub runtime_dir: Option<PathBuf>,
pub service_dir: Option<PathBuf>,
}Expand description
Relay-specific path overrides read from environment variables.
Fields§
§home: Option<PathBuf>§config_dir: Option<PathBuf>§data_dir: Option<PathBuf>§state_dir: Option<PathBuf>§cache_dir: Option<PathBuf>§log_dir: Option<PathBuf>§temp_dir: Option<PathBuf>§runtime_dir: Option<PathBuf>§service_dir: Option<PathBuf>Trait Implementations§
Source§impl Clone for PathEnvOverrides
impl Clone for PathEnvOverrides
Source§fn clone(&self) -> PathEnvOverrides
fn clone(&self) -> PathEnvOverrides
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathEnvOverrides
impl Debug for PathEnvOverrides
Source§impl Default for PathEnvOverrides
impl Default for PathEnvOverrides
Source§fn default() -> PathEnvOverrides
fn default() -> PathEnvOverrides
Returns the “default value” for a type. Read more
Source§impl PartialEq for PathEnvOverrides
impl PartialEq for PathEnvOverrides
Source§fn eq(&self, other: &PathEnvOverrides) -> bool
fn eq(&self, other: &PathEnvOverrides) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PathEnvOverrides
impl StructuralPartialEq for PathEnvOverrides
Auto Trait Implementations§
impl Freeze for PathEnvOverrides
impl RefUnwindSafe for PathEnvOverrides
impl Send for PathEnvOverrides
impl Sync for PathEnvOverrides
impl Unpin for PathEnvOverrides
impl UnsafeUnpin for PathEnvOverrides
impl UnwindSafe for PathEnvOverrides
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