pub struct BrowserProfile {
pub browser: String,
pub name: String,
pub display_name: String,
pub path: PathBuf,
pub is_default: bool,
}Expand description
Metadata for a cookie-bearing installed browser profile.
Fields§
§browser: StringNormalized browser name.
name: StringOn-disk profile name.
display_name: StringHuman-readable profile name, when the browser supplies one.
path: PathBufAbsolute or home-relative profile directory.
is_default: boolWhether the browser marks this profile as the default/last used one.
Trait Implementations§
Source§impl Clone for BrowserProfile
impl Clone for BrowserProfile
Source§fn clone(&self) -> BrowserProfile
fn clone(&self) -> BrowserProfile
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 BrowserProfile
impl Debug for BrowserProfile
impl Eq for BrowserProfile
Source§impl PartialEq for BrowserProfile
impl PartialEq for BrowserProfile
impl StructuralPartialEq for BrowserProfile
Auto Trait Implementations§
impl Freeze for BrowserProfile
impl RefUnwindSafe for BrowserProfile
impl Send for BrowserProfile
impl Sync for BrowserProfile
impl Unpin for BrowserProfile
impl UnsafeUnpin for BrowserProfile
impl UnwindSafe for BrowserProfile
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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