pub struct HistoryApi<'a, Tz: TimeZone>{ /* private fields */ }
Implementations§
Source§impl<'a, Tz: TimeZone> HistoryApi<'a, Tz>
impl<'a, Tz: TimeZone> HistoryApi<'a, Tz>
Sourcepub fn new(client: &'a Client) -> Self
pub fn new(client: &'a Client) -> Self
Use crate::Client
Sourcepub fn query(self, query: Query) -> Self
pub fn query(self, query: Query) -> Self
Set up the query
Query parameter based on which data is sent back
Sourcepub fn dt(self, dt: DateTime<Tz>) -> Self
pub fn dt(self, dt: DateTime<Tz>) -> Self
Set up a datetime
dt
should be on or after 1st Jan, 2010
Trait Implementations§
Auto Trait Implementations§
impl<'a, Tz> Freeze for HistoryApi<'a, Tz>
impl<'a, Tz> !RefUnwindSafe for HistoryApi<'a, Tz>
impl<'a, Tz> Send for HistoryApi<'a, Tz>
impl<'a, Tz> Sync for HistoryApi<'a, Tz>
impl<'a, Tz> Unpin for HistoryApi<'a, Tz>
impl<'a, Tz> !UnwindSafe for HistoryApi<'a, Tz>
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