pub struct FeatureSupport {
pub connect: bool,
pub disconnect: bool,
pub events: bool,
pub sign_in: bool,
pub sign_message: bool,
pub sign_and_send_tx: bool,
pub sign_tx: bool,
}
Expand description
Used as a helper struct to contain all the features supported by a wallet as defined by the wallet standard
Fields§
§connect: bool
‘standard:connect’
disconnect: bool
‘standard:disconnect’
events: bool
‘standard:events’
sign_in: bool
‘solana:signIn’
sign_message: bool
‘solana:signMessage’
sign_and_send_tx: bool
‘solana:signAndSendTransaction’
sign_tx: bool
‘solana:signTransaction’
Trait Implementations§
Source§impl Clone for FeatureSupport
impl Clone for FeatureSupport
Source§fn clone(&self) -> FeatureSupport
fn clone(&self) -> FeatureSupport
Returns a copy 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 FeatureSupport
impl Debug for FeatureSupport
Source§impl Default for FeatureSupport
impl Default for FeatureSupport
Source§fn default() -> FeatureSupport
fn default() -> FeatureSupport
Returns the “default value” for a type. Read more
Source§impl Hash for FeatureSupport
impl Hash for FeatureSupport
Source§impl Ord for FeatureSupport
impl Ord for FeatureSupport
Source§fn cmp(&self, other: &FeatureSupport) -> Ordering
fn cmp(&self, other: &FeatureSupport) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FeatureSupport
impl PartialEq for FeatureSupport
Source§impl PartialOrd for FeatureSupport
impl PartialOrd for FeatureSupport
impl Eq for FeatureSupport
impl StructuralPartialEq for FeatureSupport
Auto Trait Implementations§
impl Freeze for FeatureSupport
impl RefUnwindSafe for FeatureSupport
impl Send for FeatureSupport
impl Sync for FeatureSupport
impl Unpin for FeatureSupport
impl UnwindSafe for FeatureSupport
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