pub struct UserAgentParser;Implementations§
Source§impl UserAgentParser
impl UserAgentParser
pub fn get_value_from_user_agent( user: &StatsigUserInternal<'_, '_>, field: &Option<DynamicString>, override_reason: &mut Option<&str>, use_third_party_ua_parser: bool, ) -> Option<DynamicValue>
pub fn load_parser()
pub fn get_parsed_user_agent_value_for_user( user: &StatsigUser, options: &Arc<StatsigOptions>, ) -> Option<ParsedUserAgentValue>
Auto Trait Implementations§
impl Freeze for UserAgentParser
impl RefUnwindSafe for UserAgentParser
impl Send for UserAgentParser
impl Sync for UserAgentParser
impl Unpin for UserAgentParser
impl UnsafeUnpin for UserAgentParser
impl UnwindSafe for UserAgentParser
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