pub struct GetEventsRequest<'a> { /* private fields */ }Expand description
Request builder for getting events.
Implementations§
Source§impl<'a> GetEventsRequest<'a>
impl<'a> GetEventsRequest<'a>
Sourcepub fn date_format(self, format: DateFormat) -> Self
pub fn date_format(self, format: DateFormat) -> Self
Set the date format for the response.
Sourcepub fn event_ids(self, ids: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn event_ids(self, ids: impl IntoIterator<Item = impl Into<String>>) -> Self
Filter by specific event IDs.
Sourcepub fn commence_time_from(self, time: DateTime<Utc>) -> Self
pub fn commence_time_from(self, time: DateTime<Utc>) -> Self
Filter events starting from this time.
Sourcepub fn commence_time_to(self, time: DateTime<Utc>) -> Self
pub fn commence_time_to(self, time: DateTime<Utc>) -> Self
Filter events starting until this time.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetEventsRequest<'a>
impl<'a> !RefUnwindSafe for GetEventsRequest<'a>
impl<'a> Send for GetEventsRequest<'a>
impl<'a> Sync for GetEventsRequest<'a>
impl<'a> Unpin for GetEventsRequest<'a>
impl<'a> UnsafeUnpin for GetEventsRequest<'a>
impl<'a> !UnwindSafe for GetEventsRequest<'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