pub enum FormFactor {
Desktop,
Phone,
Tablet,
Other,
}
Expand description
The form factor of the device that sent a given suggestion request.
Variants
Desktop
A desktop computer.
Phone
A mobile device.
Tablet
A tablet computer.
Other
Something other than a desktop computer, a mobile device, or a tablet computer.
Trait Implementations
sourceimpl Clone for FormFactor
impl Clone for FormFactor
sourcefn clone(&self) -> FormFactor
fn clone(&self) -> FormFactor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FormFactor
impl Debug for FormFactor
sourceimpl Display for FormFactor
impl Display for FormFactor
sourceimpl<F> Dummy<F> for FormFactor
impl<F> Dummy<F> for FormFactor
sourceimpl Hash for FormFactor
impl Hash for FormFactor
sourceimpl PartialEq<FormFactor> for FormFactor
impl PartialEq<FormFactor> for FormFactor
sourceimpl Serialize for FormFactor
impl Serialize for FormFactor
impl Eq for FormFactor
impl StructuralEq for FormFactor
impl StructuralPartialEq for FormFactor
Auto Trait Implementations
impl RefUnwindSafe for FormFactor
impl Send for FormFactor
impl Sync for FormFactor
impl Unpin for FormFactor
impl UnwindSafe for FormFactor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more