pub struct GetEventsFactsQuery {
pub from: Option<NaiveDate>,
pub to: Option<NaiveDate>,
pub event_id: Option<Vec<i64>>,
pub fact_id: Option<Vec<i64>>,
pub limit: Option<i64>,
}Expand description
Query parameters for GET /events/facts.
Fields§
§from: Option<NaiveDate>Return entities starting from this date.
to: Option<NaiveDate>Return entities up to (but not including) this date.
event_id: Option<Vec<i64>>Restrict to these service-planning event IDs. An empty list does not restrict events.
fact_id: Option<Vec<i64>>Restrict to these fact definitions, intersected with the definitions the user may view or edit. An empty list uses all visible definitions.
limit: Option<i64>Number of results per page.
Trait Implementations§
Source§impl Clone for GetEventsFactsQuery
impl Clone for GetEventsFactsQuery
Source§impl Debug for GetEventsFactsQuery
impl Debug for GetEventsFactsQuery
Auto Trait Implementations§
impl Freeze for GetEventsFactsQuery
impl RefUnwindSafe for GetEventsFactsQuery
impl Send for GetEventsFactsQuery
impl Sync for GetEventsFactsQuery
impl Unpin for GetEventsFactsQuery
impl UnsafeUnpin for GetEventsFactsQuery
impl UnwindSafe for GetEventsFactsQuery
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