pub fn parse( user_agent: &str, platform_hint: Option<&str>, mobile_hint: Option<&str>, ) -> Device
The device of a browser: user_agent and, when sent, the Sec-CH-UA-Platform and Sec-CH-UA-Mobile hints.
user_agent
Sec-CH-UA-Platform
Sec-CH-UA-Mobile