HasTokenVariant

Trait HasTokenVariant 

Source
pub trait HasTokenVariant {
    // Required method
    fn is_packed_ctoken(&self) -> bool;
}
Expand description

Trait for account variants that can be checked for token vs PDA type.

Required Methods§

Source

fn is_packed_ctoken(&self) -> bool

Returns true if this variant represents a token account (PackedCTokenData).

Implementors§