pub struct Builder { /* private fields */ }Expand description
Builder for the primary reservations request, including checked-in/range mode and optional location scope.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn location(self, location: LocationId) -> Self
pub fn location(self, location: LocationId) -> Self
Scopes the Gingr request to a provider location identifier.
Sourcepub fn build(self) -> Reservations
pub fn build(self) -> Reservations
Finalizes the provider request descriptor after required fields are present and wrappers have validated local invariants.
Trait Implementations§
impl Eq for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnsafeUnpin for Builder
impl UnwindSafe for Builder
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