pub struct UserAgentInfo {
pub category: String,
pub browser_name: String,
pub browser_version: String,
pub metrics_browser: String,
pub metrics_os: String,
pub os_version: String,
pub os: String,
/* private fields */
}
Fields§
§category: String
§browser_name: String
§browser_version: String
§metrics_browser: String
§metrics_os: String
§os_version: String
§os: String
Trait Implementations§
source§impl Clone for UserAgentInfo
impl Clone for UserAgentInfo
source§fn clone(&self) -> UserAgentInfo
fn clone(&self) -> UserAgentInfo
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 UserAgentInfo
impl Debug for UserAgentInfo
source§impl Default for UserAgentInfo
impl Default for UserAgentInfo
source§fn default() -> UserAgentInfo
fn default() -> UserAgentInfo
Returns the “default value” for a type. Read more
source§impl From<&HttpRequest> for UserAgentInfo
impl From<&HttpRequest> for UserAgentInfo
source§fn from(req: &HttpRequest) -> UserAgentInfo
fn from(req: &HttpRequest) -> UserAgentInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserAgentInfo
impl RefUnwindSafe for UserAgentInfo
impl Send for UserAgentInfo
impl Sync for UserAgentInfo
impl Unpin for UserAgentInfo
impl UnwindSafe for UserAgentInfo
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
)