pub struct ReferenceGeneratorBuilder { /* private fields */ }Expand description
Builder for configuring reference generation.
Implementations§
Source§impl ReferenceGeneratorBuilder
impl ReferenceGeneratorBuilder
Sourcepub fn company_code(self, code: &str) -> Self
pub fn company_code(self, code: &str) -> Self
Set the company code.
Sourcepub fn invoice_prefix(self, prefix: &str) -> Self
pub fn invoice_prefix(self, prefix: &str) -> Self
Set invoice prefix.
Sourcepub fn build(self) -> ReferenceGenerator
pub fn build(self) -> ReferenceGenerator
Build the generator.
Trait Implementations§
Source§impl Clone for ReferenceGeneratorBuilder
impl Clone for ReferenceGeneratorBuilder
Source§fn clone(&self) -> ReferenceGeneratorBuilder
fn clone(&self) -> ReferenceGeneratorBuilder
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 ReferenceGeneratorBuilder
impl Debug for ReferenceGeneratorBuilder
Source§impl Default for ReferenceGeneratorBuilder
impl Default for ReferenceGeneratorBuilder
Source§fn default() -> ReferenceGeneratorBuilder
fn default() -> ReferenceGeneratorBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReferenceGeneratorBuilder
impl RefUnwindSafe for ReferenceGeneratorBuilder
impl Send for ReferenceGeneratorBuilder
impl Sync for ReferenceGeneratorBuilder
impl Unpin for ReferenceGeneratorBuilder
impl UnwindSafe for ReferenceGeneratorBuilder
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