pub enum SolanaPatternType {
PublicKey,
Signature,
ProgramId,
Amount,
Blockhash,
InstructionData,
}Expand description
Solana-specific pattern types
Variants§
PublicKey
Ed25519 public keys (32 bytes)
Signature
Ed25519 signatures (64 bytes)
ProgramId
Program IDs (32 bytes)
Amount
Token amounts (8 bytes)
Blockhash
Blockhashes (32 bytes)
InstructionData
Instruction data patterns
Trait Implementations§
Source§impl Clone for SolanaPatternType
impl Clone for SolanaPatternType
Source§fn clone(&self) -> SolanaPatternType
fn clone(&self) -> SolanaPatternType
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 SolanaPatternType
impl Debug for SolanaPatternType
Source§impl<'de> Deserialize<'de> for SolanaPatternType
impl<'de> Deserialize<'de> for SolanaPatternType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SolanaPatternType
impl RefUnwindSafe for SolanaPatternType
impl Send for SolanaPatternType
impl Sync for SolanaPatternType
impl Unpin for SolanaPatternType
impl UnsafeUnpin for SolanaPatternType
impl UnwindSafe for SolanaPatternType
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