pub struct Filters {Show 14 fields
pub path: Option<&'static str>,
pub referrer: Option<&'static str>,
pub title: Option<&'static str>,
pub query: Option<&'static str>,
pub browser: Option<&'static str>,
pub os: Option<&'static str>,
pub device: Option<&'static str>,
pub country: Option<&'static str>,
pub region: Option<&'static str>,
pub city: Option<&'static str>,
pub hostname: Option<&'static str>,
pub tag: Option<&'static str>,
pub segment: Option<&'static str>,
pub cohort: Option<&'static str>,
}Expand description
Many endpoints can make use of the filters in this interface
Fields§
§path: Option<&'static str>Name of URL
referrer: Option<&'static str>Name of referrer
title: Option<&'static str>Name of page title
query: Option<&'static str>Name of query parameter
browser: Option<&'static str>Name of browser
os: Option<&'static str>Name of operating system
device: Option<&'static str>Name of device (ex. Mobile)
country: Option<&'static str>Name of country (two letters diminutive)
region: Option<&'static str>Name of region/state/province
city: Option<&'static str>Name of city
hostname: Option<&'static str>Name of hostname
tag: Option<&'static str>Name of tag
segment: Option<&'static str>UUID of segment
cohort: Option<&'static str>UUID of cohort
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filters
impl RefUnwindSafe for Filters
impl Send for Filters
impl Sync for Filters
impl Unpin for Filters
impl UnsafeUnpin for Filters
impl UnwindSafe for Filters
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