pub enum GetStatsParam<'a> {
Duration(&'a str),
End(&'a str),
Event(&'a str),
Resolution(&'a str),
Start(&'a str),
}Expand description
A parameter for fetching stats for a domain.
Variants§
Duration(&'a str)
Period of time with resoluton encoded. If provided, overwrites the start date.
End(&'a str)
The ending date. Should be in RFC 2822 or unix epoch format. Default: current time.
Event(&'a str)
The type of the event.
Resolution(&'a str)
Can be either hour, day or month. Default: day.
Start(&'a str)
The starting time. Should be in RFC 2822 or unix epoch format. Default: 7 days from the current time.
Trait Implementations§
Source§impl<'a> Debug for GetStatsParam<'a>
impl<'a> Debug for GetStatsParam<'a>
Auto Trait Implementations§
impl<'a> Freeze for GetStatsParam<'a>
impl<'a> RefUnwindSafe for GetStatsParam<'a>
impl<'a> Send for GetStatsParam<'a>
impl<'a> Sync for GetStatsParam<'a>
impl<'a> Unpin for GetStatsParam<'a>
impl<'a> UnwindSafe for GetStatsParam<'a>
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