pub enum TransactionType {
Script,
Create,
Mint,
}Variants§
Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransactionType
Source§impl Debug for TransactionType
impl Debug for TransactionType
Source§impl Default for TransactionType
impl Default for TransactionType
Source§fn default() -> TransactionType
fn default() -> TransactionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionType
impl<'de> Deserialize<'de> for TransactionType
Source§fn deserialize<D>(deserializer: D) -> StdResult<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> StdResult<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TransactionType
Source§impl FromStr for TransactionType
impl FromStr for TransactionType
Source§impl Hash for TransactionType
impl Hash for TransactionType
Source§impl Hex for TransactionType
impl Hex for TransactionType
fn encode_hex(&self) -> String
fn decode_hex(hex: &str) -> Result<Self>
fn encode_hex_with_quotes(&self) -> String
Source§impl PartialEq for TransactionType
impl PartialEq for TransactionType
Source§fn eq(&self, other: &TransactionType) -> bool
fn eq(&self, other: &TransactionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransactionType
impl Serialize for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl Freeze for TransactionType
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnsafeUnpin 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