Struct sqlx_ledger::tx_template::TxTemplates
source · pub struct TxTemplates { /* private fields */ }
Expand description
Provides methods to interact with TxTemplateCore
entities.
Implementations§
source§impl TxTemplates
impl TxTemplates
pub fn new(pool: &Pool<Postgres>) -> Self
pub async fn create( &self, __arg1: NewTxTemplate ) -> Result<TxTemplateId, SqlxLedgerError>
Trait Implementations§
source§impl Clone for TxTemplates
impl Clone for TxTemplates
source§fn clone(&self) -> TxTemplates
fn clone(&self) -> TxTemplates
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 TxTemplates
impl Send for TxTemplates
impl Sync for TxTemplates
impl Unpin for TxTemplates
impl !UnwindSafe for TxTemplates
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