pub struct ReportCardFilesBuilder { /* private fields */ }Expand description
Builder for report-card file lookup filters by owner, animal, reservation, and location.
Implementations§
Source§impl ReportCardFilesBuilder
impl ReportCardFilesBuilder
Sourcepub fn number_days(self, number_days: u64) -> Self
pub fn number_days(self, number_days: u64) -> Self
Limits report-card file lookup to a recent day window.
Sourcepub fn limit(self, limit: u64) -> Self
pub fn limit(self, limit: u64) -> Self
Sets the provider result limit so automation does not imply unbounded source coverage.
Sourcepub fn location_id(self, location_id: LocationId) -> Self
pub fn location_id(self, location_id: LocationId) -> Self
Scopes the Gingr endpoint request to a location.
Sourcepub fn build(self) -> ReportCardFiles
pub fn build(self) -> ReportCardFiles
Finalizes the provider request descriptor after required fields are present and wrappers have validated local invariants.
Trait Implementations§
Source§impl Clone for ReportCardFilesBuilder
impl Clone for ReportCardFilesBuilder
Source§fn clone(&self) -> ReportCardFilesBuilder
fn clone(&self) -> ReportCardFilesBuilder
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 ReportCardFilesBuilder
impl Debug for ReportCardFilesBuilder
Source§impl Default for ReportCardFilesBuilder
impl Default for ReportCardFilesBuilder
Source§fn default() -> ReportCardFilesBuilder
fn default() -> ReportCardFilesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReportCardFilesBuilder
impl RefUnwindSafe for ReportCardFilesBuilder
impl Send for ReportCardFilesBuilder
impl Sync for ReportCardFilesBuilder
impl Unpin for ReportCardFilesBuilder
impl UnsafeUnpin for ReportCardFilesBuilder
impl UnwindSafe for ReportCardFilesBuilder
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