Struct sqlx_ledger::tx_template::EntryInputBuilder
source · pub struct EntryInputBuilder { /* private fields */ }
Expand description
Builder for EntryInput
.
Implementations§
source§impl EntryInputBuilder
impl EntryInputBuilder
pub fn entry_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn account_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn layer<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn direction<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn units<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn currency<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description(&mut self, value: String) -> &mut Self
sourcepub fn build(&self) -> Result<EntryInput, EntryInputBuilderError>
pub fn build(&self) -> Result<EntryInput, EntryInputBuilderError>
Trait Implementations§
source§impl Clone for EntryInputBuilder
impl Clone for EntryInputBuilder
source§fn clone(&self) -> EntryInputBuilder
fn clone(&self) -> EntryInputBuilder
Returns a copy 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 RefUnwindSafe for EntryInputBuilder
impl Send for EntryInputBuilder
impl Sync for EntryInputBuilder
impl Unpin for EntryInputBuilder
impl UnwindSafe for EntryInputBuilder
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