pub trait TransactionDefinition {
// Required method
fn get_attribute(&self, attribute: &str) -> OptionValue;
}
Expand description
Specification of properties to be used when starting a transaction. This interface is typically implemented by code that calls [beginTransaction(TransactionDefinition)]
Required Methods§
Sourcefn get_attribute(&self, attribute: &str) -> OptionValue
fn get_attribute(&self, attribute: &str) -> OptionValue
Retrieve a transaction attribute value by its attribute identifier. This low-level interface allows querying transaction attributes supported by the {@link Connection} that should be applied
returns the value of the transaction attribute. Can be None to indicate absence of the attribute