pub struct InvoicesBuilder { /* private fields */ }Expand description
Builder for invoice date, owner, location, and pagination filters.
Implementations§
Source§impl InvoicesBuilder
impl InvoicesBuilder
Sourcepub fn pagination(self, pagination: InvoicePagination) -> Self
pub fn pagination(self, pagination: InvoicePagination) -> Self
Applies provider pagination controls to the request.
Sourcepub fn closed_only(self, closed_only: bool) -> Self
pub fn closed_only(self, closed_only: bool) -> Self
Restricts invoice results to closed Gingr invoices.
Sourcepub fn from_date(self, from_date: Date) -> Self
pub fn from_date(self, from_date: Date) -> Self
Sets the inclusive provider start date sent to Gingr.
Trait Implementations§
Source§impl Clone for InvoicesBuilder
impl Clone for InvoicesBuilder
Source§fn clone(&self) -> InvoicesBuilder
fn clone(&self) -> InvoicesBuilder
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 InvoicesBuilder
impl Debug for InvoicesBuilder
Source§impl Default for InvoicesBuilder
impl Default for InvoicesBuilder
Source§fn default() -> InvoicesBuilder
fn default() -> InvoicesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InvoicesBuilder
impl RefUnwindSafe for InvoicesBuilder
impl Send for InvoicesBuilder
impl Sync for InvoicesBuilder
impl Unpin for InvoicesBuilder
impl UnsafeUnpin for InvoicesBuilder
impl UnwindSafe for InvoicesBuilder
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