wallet_adapter_common/feature_support.rs
1/// Used as a helper struct to contain all the features supported by a wallet
2/// as defined by the wallet standard
3#[derive(Debug, Default, PartialEq, Eq, PartialOrd, Ord, Clone, Hash)]
4pub struct FeatureSupport {
5 /// 'standard:connect'
6 pub connect: bool,
7 /// 'standard:disconnect'
8 pub disconnect: bool,
9 /// 'standard:events'
10 pub events: bool,
11 /// 'solana:signIn'
12 pub sign_in: bool,
13 /// 'solana:signMessage'
14 pub sign_message: bool,
15 /// 'solana:signAndSendTransaction'
16 pub sign_and_send_tx: bool,
17 /// 'solana:signTransaction'
18 pub sign_tx: bool,
19}