pub enum TransactionType {
Declare(DeclareTransaction),
Deploy(DeployTransaction),
DeployAccount(DeployAccountTransaction),
InvokeFunction(InvokeFunctionTransaction),
L1Handler(L1HandlerTransaction),
}Variants§
Declare(DeclareTransaction)
Deploy(DeployTransaction)
DeployAccount(DeployAccountTransaction)
InvokeFunction(InvokeFunctionTransaction)
L1Handler(L1HandlerTransaction)
Implementations§
Source§impl TransactionType
impl TransactionType
pub const fn transaction_hash(&self) -> Felt
Trait Implementations§
Source§impl Clone for TransactionType
impl Clone for TransactionType
Source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
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 TransactionType
impl Debug for TransactionType
Source§impl<'de> Deserialize<'de> for TransactionType
impl<'de> Deserialize<'de> for TransactionType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl TryFrom<TransactionType> for Transaction
impl TryFrom<TransactionType> for Transaction
Source§fn try_from(
value: TransactionType,
) -> Result<Transaction, <Transaction as TryFrom<TransactionType>>::Error>
fn try_from( value: TransactionType, ) -> Result<Transaction, <Transaction as TryFrom<TransactionType>>::Error>
Performs the conversion.
Source§impl TryFrom<TransactionType> for TransactionContent
impl TryFrom<TransactionType> for TransactionContent
Source§fn try_from(
value: TransactionType,
) -> Result<TransactionContent, <TransactionContent as TryFrom<TransactionType>>::Error>
fn try_from( value: TransactionType, ) -> Result<TransactionContent, <TransactionContent as TryFrom<TransactionType>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TransactionType
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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