pub struct ClientInfo {
pub device_type: DeviceType,
}Expand description
Inferred information about the client that requested a certain route.
Fields§
§device_type: DeviceTypeThe type of device that is viewing this page.
We do our best to detect this value automatically, but we may be wrong.
Trait Implementations§
Source§impl Clone for ClientInfo
impl Clone for ClientInfo
Source§fn clone(&self) -> ClientInfo
fn clone(&self) -> ClientInfo
Returns a duplicate 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 ClientInfo
impl Debug for ClientInfo
Source§impl Hash for ClientInfo
impl Hash for ClientInfo
Source§impl PartialEq for ClientInfo
impl PartialEq for ClientInfo
impl Copy for ClientInfo
impl Eq for ClientInfo
impl StructuralPartialEq for ClientInfo
Auto Trait Implementations§
impl Freeze for ClientInfo
impl RefUnwindSafe for ClientInfo
impl Send for ClientInfo
impl Sync for ClientInfo
impl Unpin for ClientInfo
impl UnwindSafe for ClientInfo
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