pub struct OwnerBuilder { /* private fields */ }Expand description
Builder for owner-keyed reservation lookups and their provider filters.
Implementations§
Source§impl OwnerBuilder
impl OwnerBuilder
Sourcepub fn owner_id(self, id: OwnerId) -> Self
pub fn owner_id(self, id: OwnerId) -> Self
Narrows the provider request to one Gingr owner/customer identifier.
Sourcepub fn restrict_to(self, restrict_to: RestrictTo) -> Self
pub fn restrict_to(self, restrict_to: RestrictTo) -> Self
Applies Gingr reservation-scope tokens such as future, past, or wait-listed.
Sourcepub fn filter(self, filters: SearchFilters) -> Self
pub fn filter(self, filters: SearchFilters) -> Self
Adds nested Gingr reservation search filters to the lookup request.
Trait Implementations§
Source§impl Clone for OwnerBuilder
impl Clone for OwnerBuilder
Source§fn clone(&self) -> OwnerBuilder
fn clone(&self) -> OwnerBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnerBuilder
impl Debug for OwnerBuilder
Source§impl Default for OwnerBuilder
impl Default for OwnerBuilder
Source§fn default() -> OwnerBuilder
fn default() -> OwnerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OwnerBuilder
impl RefUnwindSafe for OwnerBuilder
impl Send for OwnerBuilder
impl Sync for OwnerBuilder
impl Unpin for OwnerBuilder
impl UnsafeUnpin for OwnerBuilder
impl UnwindSafe for OwnerBuilder
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