pub struct AnimalBuilder { /* private fields */ }Expand description
Builder for animal-keyed reservation lookups and their provider filters.
Implementations§
Source§impl AnimalBuilder
impl AnimalBuilder
Sourcepub fn animal_id(self, id: AnimalId) -> Self
pub fn animal_id(self, id: AnimalId) -> Self
Adds a Gingr animal identifier as a provider filter.
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 AnimalBuilder
impl Clone for AnimalBuilder
Source§fn clone(&self) -> AnimalBuilder
fn clone(&self) -> AnimalBuilder
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 AnimalBuilder
impl Debug for AnimalBuilder
Source§impl Default for AnimalBuilder
impl Default for AnimalBuilder
Source§fn default() -> AnimalBuilder
fn default() -> AnimalBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnimalBuilder
impl RefUnwindSafe for AnimalBuilder
impl Send for AnimalBuilder
impl Sync for AnimalBuilder
impl Unpin for AnimalBuilder
impl UnsafeUnpin for AnimalBuilder
impl UnwindSafe for AnimalBuilder
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