pub struct GetBookingsQuery {
pub include: Option<Vec<String>>,
pub resource_ids: Option<Vec<i64>>,
pub query: Option<String>,
pub person_id: Option<i64>,
pub status_ids: Option<Vec<i64>>,
pub from: Option<NaiveDate>,
pub to: Option<NaiveDate>,
}Expand description
Query parameters for GET /bookings.
Fields§
§include: Option<Vec<String>>Optional enrichments. conflicts adds overlapping bookings; involvedPersonsDomainObjects adds person references to the booking base.
Allowed values: conflicts, involvedPersonsDomainObjects.
resource_ids: Option<Vec<i64>>IDs of resources to include.
query: Option<String>Substring search in booking titles; at least two characters after trimming.
person_id: Option<i64>Return bookings created by this person or made on their behalf.
status_ids: Option<Vec<i64>>Booking statuses to include.
Allowed values: 1, 2, 3.
from: Option<NaiveDate>First included local date.
to: Option<NaiveDate>Last included local date, on or after from.
Trait Implementations§
Source§impl Clone for GetBookingsQuery
impl Clone for GetBookingsQuery
Source§impl Debug for GetBookingsQuery
impl Debug for GetBookingsQuery
Auto Trait Implementations§
impl Freeze for GetBookingsQuery
impl RefUnwindSafe for GetBookingsQuery
impl Send for GetBookingsQuery
impl Sync for GetBookingsQuery
impl Unpin for GetBookingsQuery
impl UnsafeUnpin for GetBookingsQuery
impl UnwindSafe for GetBookingsQuery
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