pub struct GetEventsQuery {
pub from: Option<NaiveDate>,
pub to: Option<NaiveDate>,
pub direction: Option<String>,
pub limit: Option<i64>,
pub canceled: Option<bool>,
pub include: Option<String>,
}Expand description
Query parameters for GET /events.
Fields§
§from: Option<NaiveDate>Midnight anchor or beginning of the range.
to: Option<NaiveDate>Range upper bound at midnight, inclusive.
direction: Option<String>Enable directional pagination; omit for an unpaginated date range.
Allowed values: backward, forward.
limit: Option<i64>Results per page in directional mode; ignored in range mode.
canceled: Option<bool>Include cancelled events in addition to active events.
include: Option<String>Comma-separated Fractal includes. event_services includes visible assignments; eventServices is its legacy spelling. The response key follows the selected spelling. Other Fractal syntax is accepted, so this is not a closed enum.
Trait Implementations§
Source§impl Clone for GetEventsQuery
impl Clone for GetEventsQuery
Source§impl Debug for GetEventsQuery
impl Debug for GetEventsQuery
Auto Trait Implementations§
impl Freeze for GetEventsQuery
impl RefUnwindSafe for GetEventsQuery
impl Send for GetEventsQuery
impl Sync for GetEventsQuery
impl Unpin for GetEventsQuery
impl UnsafeUnpin for GetEventsQuery
impl UnwindSafe for GetEventsQuery
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