pub enum UserAgent {
Show 16 variants
Unknown = 0,
Human = 1,
Bot = 2,
Service = 3,
Unused0 = 4,
Unused1 = 5,
Unused2 = 6,
Unused3 = 7,
Unused4 = 8,
Unused5 = 9,
Unused6 = 10,
Unused7 = 11,
Unused8 = 12,
Unused9 = 13,
Unused10 = 14,
Unused11 = 15,
}Variants§
Unknown = 0
Human = 1
Bot = 2
Service = 3
Unused0 = 4
Unused1 = 5
Unused2 = 6
Unused3 = 7
Unused4 = 8
Unused5 = 9
Unused6 = 10
Unused7 = 11
Unused8 = 12
Unused9 = 13
Unused10 = 14
Unused11 = 15
Trait Implementations§
Source§impl Specifier for UserAgent
impl Specifier for UserAgent
Source§type Bytes = <BitCount<4> as SpecifierBytes>::Bytes
type Bytes = <BitCount<4> as SpecifierBytes>::Bytes
The storage type. This is typically the smallest integer primitive that
can store all possible values of the
InOut type.Source§type InOut = UserAgent
type InOut = UserAgent
The interface type. This type is used by getters and setters. For
integers, this is the same as the
Bytes type; for other
types with more logical representations, like an enum or struct, this is
the enum or struct.Source§fn into_bytes(
input: <Self as Specifier>::InOut,
) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
fn into_bytes( input: <Self as Specifier>::InOut, ) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
Converts an interface type into its storage type. Read more
impl StructuralPartialEq for UserAgent
Auto Trait Implementations§
impl Freeze for UserAgent
impl RefUnwindSafe for UserAgent
impl Send for UserAgent
impl Sync for UserAgent
impl Unpin for UserAgent
impl UnwindSafe for UserAgent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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