pub struct ListBookingsQueryBuilder { /* private fields */ }Implementations§
Source§impl ListBookingsQueryBuilder
impl ListBookingsQueryBuilder
pub fn new() -> Self
Sourcepub fn limit(self, limit: i64) -> Self
pub fn limit(self, limit: i64) -> Self
The maximum number of results per page to return in a paged response.
Sourcepub fn cursor<S: Into<String>>(self, cursor: S) -> Self
pub fn cursor<S: Into<String>>(self, cursor: S) -> Self
The pagination cursor from the preceding response to return the next page of the results. Do not set this when retrieving the first page of the results.
Sourcepub fn team_member_id<S: Into<String>>(self, team_member_id: S) -> Self
pub fn team_member_id<S: Into<String>>(self, team_member_id: S) -> Self
The team member for whom to retrieve bookings. If this is not set, bookings of all members are retrieved.
Sourcepub fn location_id<S: Into<String>>(self, location_id: S) -> Self
pub fn location_id<S: Into<String>>(self, location_id: S) -> Self
The location for which to retrieve bookings. If this is not set, all locations’ bookings are retrieved.
Sourcepub fn start_at_min<S: Into<String>>(self, start_at_min: S) -> Self
pub fn start_at_min<S: Into<String>>(self, start_at_min: S) -> Self
The RFC 3339 timestamp specifying the earliest of the start time. If this is not set, the current time is used.
Sourcepub fn start_at_max<S: Into<String>>(self, start_at_max: S) -> Self
pub fn start_at_max<S: Into<String>>(self, start_at_max: S) -> Self
The RFC 3339 timestamp specifying the latest of the start time. If this is not set, the time of 31 days after start_at_min is used.
pub async fn build(self) -> Vec<(String, String)>
Trait Implementations§
Source§impl Default for ListBookingsQueryBuilder
impl Default for ListBookingsQueryBuilder
Source§fn default() -> ListBookingsQueryBuilder
fn default() -> ListBookingsQueryBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListBookingsQueryBuilder
impl RefUnwindSafe for ListBookingsQueryBuilder
impl Send for ListBookingsQueryBuilder
impl Sync for ListBookingsQueryBuilder
impl Unpin for ListBookingsQueryBuilder
impl UnwindSafe for ListBookingsQueryBuilder
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