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 more