Struct solana_remote_wallet::remote_keypair::RemoteKeypair [−][src]
pub struct RemoteKeypair { pub wallet_type: RemoteWalletType, pub derivation_path: DerivationPath, pub pubkey: Pubkey, pub path: String, }
Fields
wallet_type: RemoteWalletType
derivation_path: DerivationPath
pubkey: Pubkey
path: String
Implementations
impl RemoteKeypair
[src]
impl RemoteKeypair
[src]pub fn new(
wallet_type: RemoteWalletType,
derivation_path: DerivationPath,
confirm_key: bool,
path: String
) -> Result<Self, RemoteWalletError>
[src]
wallet_type: RemoteWalletType,
derivation_path: DerivationPath,
confirm_key: bool,
path: String
) -> Result<Self, RemoteWalletError>
Trait Implementations
impl Signer for RemoteKeypair
[src]
impl Signer for RemoteKeypair
[src]fn try_pubkey(&self) -> Result<Pubkey, SignerError>
[src]
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>
[src]
pub fn pubkey(&self) -> Pubkey
[src]
pub fn sign_message(&self, message: &[u8]) -> Signature
[src]
Auto Trait Implementations
impl RefUnwindSafe for RemoteKeypair
impl RefUnwindSafe for RemoteKeypair
impl !Send for RemoteKeypair
impl !Send for RemoteKeypair
impl !Sync for RemoteKeypair
impl !Sync for RemoteKeypair
impl Unpin for RemoteKeypair
impl Unpin for RemoteKeypair
impl UnwindSafe for RemoteKeypair
impl UnwindSafe for RemoteKeypair