pub enum MainWebsite {
Facebook,
Vk,
Tiktok,
Google,
Crypto,
Empty,
}Expand description
Represents the main website/platform the browser profile is configured for
Variants§
Facebook social network
Vk
VKontakte social network
Tiktok
TikTok social media platform
Google services
Crypto
Cryptocurrency-related websites
Empty
No specific main website configured
Implementations§
Trait Implementations§
source§impl Clone for MainWebsite
impl Clone for MainWebsite
source§fn clone(&self) -> MainWebsite
fn clone(&self) -> MainWebsite
Returns a copy 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 MainWebsite
impl Debug for MainWebsite
source§impl<'r> Decode<'r, MySql> for MainWebsite
impl<'r> Decode<'r, MySql> for MainWebsite
source§impl<'r> Decode<'r, Sqlite> for MainWebsite
impl<'r> Decode<'r, Sqlite> for MainWebsite
source§impl<'q, DB: Database> Encode<'q, DB> for MainWebsitewhere
&'q str: Encode<'q, DB>,
impl<'q, DB: Database> Encode<'q, DB> for MainWebsitewhere
&'q str: Encode<'q, DB>,
source§fn encode_by_ref(
&self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, BoxDynError>
fn size_hint(&self) -> usize
§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
source§impl From<MainWebsite> for String
impl From<MainWebsite> for String
source§fn from(value: MainWebsite) -> String
fn from(value: MainWebsite) -> String
Converts to this type from the input type.
source§impl From<String> for MainWebsite
impl From<String> for MainWebsite
source§impl Hash for MainWebsite
impl Hash for MainWebsite
source§impl PartialEq for MainWebsite
impl PartialEq for MainWebsite
source§impl Serialize for MainWebsite
impl Serialize for MainWebsite
source§impl Type<MySql> for MainWebsite
impl Type<MySql> for MainWebsite
source§impl Type<Sqlite> for MainWebsite
impl Type<Sqlite> for MainWebsite
impl Copy for MainWebsite
impl Eq for MainWebsite
impl StructuralPartialEq for MainWebsite
Auto Trait Implementations§
impl Freeze for MainWebsite
impl RefUnwindSafe for MainWebsite
impl Send for MainWebsite
impl Sync for MainWebsite
impl Unpin for MainWebsite
impl UnwindSafe for MainWebsite
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 = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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>
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§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type
Creates a shared type from an unshared type.
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.