pub struct InvoiceListBuilder { /* private fields */ }Expand description
Builder for InvoiceList.
Implementations§
Source§impl InvoiceListBuilder
impl InvoiceListBuilder
Sourcepub fn total_items<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn total_items<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
Total items
Sourcepub fn total_pages<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn total_pages<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
Total pages
Sourcepub fn links<VALUE: Into<Vec<LinkDescription>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn links<VALUE: Into<Vec<LinkDescription>>>( &mut self, value: VALUE, ) -> &mut Self
HATEOAS links
Sourcepub fn build(&self) -> Result<InvoiceList, InvoiceListBuilderError>
pub fn build(&self) -> Result<InvoiceList, InvoiceListBuilderError>
Trait Implementations§
Source§impl Clone for InvoiceListBuilder
impl Clone for InvoiceListBuilder
Source§fn clone(&self) -> InvoiceListBuilder
fn clone(&self) -> InvoiceListBuilder
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 moreAuto Trait Implementations§
impl Freeze for InvoiceListBuilder
impl RefUnwindSafe for InvoiceListBuilder
impl Send for InvoiceListBuilder
impl Sync for InvoiceListBuilder
impl Unpin for InvoiceListBuilder
impl UnwindSafe for InvoiceListBuilder
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