pub struct DatabasePathInfo {
pub current_working_directory: String,
pub env_var_set: bool,
pub env_var_path: Option<String>,
pub env_var_valid: Option<bool>,
pub directories_checked: Vec<DirectoryTraversalInfo>,
pub home_directory: Option<String>,
pub home_has_intent_engine: bool,
pub final_database_path: Option<String>,
pub resolution_method: Option<String>,
}Expand description
Detailed information about database path resolution
Fields§
§current_working_directory: String§env_var_set: bool§env_var_path: Option<String>§env_var_valid: Option<bool>§directories_checked: Vec<DirectoryTraversalInfo>§home_directory: Option<String>§home_has_intent_engine: bool§final_database_path: Option<String>§resolution_method: Option<String>Trait Implementations§
Source§impl Debug for DatabasePathInfo
impl Debug for DatabasePathInfo
Source§impl<'de> Deserialize<'de> for DatabasePathInfo
impl<'de> Deserialize<'de> for DatabasePathInfo
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 DatabasePathInfo
impl RefUnwindSafe for DatabasePathInfo
impl Send for DatabasePathInfo
impl Sync for DatabasePathInfo
impl Unpin for DatabasePathInfo
impl UnwindSafe for DatabasePathInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more