pub enum ExecutionVersion {
V1,
V3,
}
Expand description
The version of transaction to be executed.
Variants§
V1
Execute the transaction using the execute_v1
method, where fees are only payable in WEI.
V3
Execute the transaction using the execute_v3
method, where fees are payable in WEI or FRI.
Implementations§
Source§impl ExecutionVersion
impl ExecutionVersion
pub fn get_type_str(&self) -> String
pub fn get_call_str(&self) -> TokenStream2
Trait Implementations§
Source§impl Clone for ExecutionVersion
impl Clone for ExecutionVersion
Source§fn clone(&self) -> ExecutionVersion
fn clone(&self) -> ExecutionVersion
Returns a duplicate 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 moreSource§impl Debug for ExecutionVersion
impl Debug for ExecutionVersion
Source§impl Default for ExecutionVersion
impl Default for ExecutionVersion
Source§fn default() -> ExecutionVersion
fn default() -> ExecutionVersion
Returns the “default value” for a type. Read more
Source§impl FromStr for ExecutionVersion
impl FromStr for ExecutionVersion
impl Copy for ExecutionVersion
Auto Trait Implementations§
impl Freeze for ExecutionVersion
impl RefUnwindSafe for ExecutionVersion
impl Send for ExecutionVersion
impl Sync for ExecutionVersion
impl Unpin for ExecutionVersion
impl UnwindSafe for ExecutionVersion
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