pub struct PathsConfig {
pub system: String,
pub services: String,
pub bin: String,
pub web_path: Option<String>,
pub storage: Option<String>,
pub geoip_database: Option<String>,
}Fields§
§system: String§services: String§bin: String§web_path: Option<String>§storage: Option<String>§geoip_database: Option<String>Implementations§
Source§impl PathsConfig
impl PathsConfig
pub fn resolve_relative_to(&mut self, base: &Path)
pub fn skills(&self) -> String
pub fn config(&self) -> String
pub fn ai_config(&self) -> String
pub fn content_config(&self) -> String
pub fn web_config(&self) -> String
pub fn web_metadata(&self) -> String
pub fn web_path_resolved(&self) -> String
pub fn storage_resolved(&self) -> Option<&str>
pub fn geoip_database_resolved(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for PathsConfig
impl Clone for PathsConfig
Source§fn clone(&self) -> PathsConfig
fn clone(&self) -> PathsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PathsConfig
impl Debug for PathsConfig
Source§impl<'de> Deserialize<'de> for PathsConfig
impl<'de> Deserialize<'de> for PathsConfig
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 PathsConfig
impl RefUnwindSafe for PathsConfig
impl Send for PathsConfig
impl Sync for PathsConfig
impl Unpin for PathsConfig
impl UnwindSafe for PathsConfig
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