pub struct UserPaths {
pub app_data_dir: String,
pub user_data_dir: String,
pub user_chromium_components_dir: String,
}Expand description
Paths configuration for the browser profile.
Fields§
§app_data_dir: StringAppData directory. C:\Users<username>\AppData\Roaming\dolphin_anty on Windows, ~/.config/dolphin_anty on Linux, ~/Library/Application Support/dolphin_anty on macOS
user_data_dir: StringBrowser profile data directory. In this folder Chrome stores all its files. This is the root directory for one profile for Chrome.
C:\Users<username>\AppData\Roaming\dolphin_anty\browser_profiles
<browser_profile_id>\data_dir on Windows,
~/.config/dolphin_anty/browser_profiles/<browser_profile_id>/data_dir on
Linux, ~/Library/Application
Support/dolphin_anty/browser_profiles/<browser_profile_id>/data_dir on
macOS
user_chromium_components_dir: StringDirectory for Chromium components. We do not want to store it in
user_data_dir because the folder size will be too big, so there is a
directory-per-user instead of directory-per-browser-profiles.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for UserPaths
impl<'de> Deserialize<'de> for UserPaths
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>,
Auto Trait Implementations§
impl Freeze for UserPaths
impl RefUnwindSafe for UserPaths
impl Send for UserPaths
impl Sync for UserPaths
impl Unpin for UserPaths
impl UnwindSafe for UserPaths
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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