pub trait Transactions: Sized {
// Required method
fn assign_group(self) -> Result<Vec<Transaction>, AlgoKitTransactError>;
}
Expand description
Trait for operations which pertain to a collection of transactions.
Required Methods§
Sourcefn assign_group(self) -> Result<Vec<Transaction>, AlgoKitTransactError>
fn assign_group(self) -> Result<Vec<Transaction>, AlgoKitTransactError>
Groups the supplied transactions by calculating and assigning the group to each transaction.
§Returns
A result containing the transactions with group assign or an error if grouping fails.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl Transactions for &[Transaction]
impl Transactions for &[Transaction]
Source§fn assign_group(self) -> Result<Vec<Transaction>, AlgoKitTransactError>
fn assign_group(self) -> Result<Vec<Transaction>, AlgoKitTransactError>
Groups the supplied transactions by calculating and assigning the group to each transaction.
§Returns
A result containing the transactions with group assign or an error if grouping fails.