pub struct RemoteWalletInfo {
pub model: String,
pub manufacturer: Manufacturer,
pub serial: String,
pub host_device_path: String,
pub pubkey: Pubkey,
pub error: Option<RemoteWalletError>,
}
Expand description
Remote wallet information.
Fields§
§model: String
RemoteWallet device model
manufacturer: Manufacturer
RemoteWallet device manufacturer
serial: String
RemoteWallet device serial number
host_device_path: String
RemoteWallet host device path
pubkey: Pubkey
Base pubkey of device at Solana derivation path
error: Option<RemoteWalletError>
Initial read error
Implementations§
source§impl RemoteWalletInfo
impl RemoteWalletInfo
pub fn parse_locator(locator: Locator) -> Self
pub fn get_pretty_path(&self) -> String
Trait Implementations§
source§impl Clone for RemoteWalletInfo
impl Clone for RemoteWalletInfo
source§fn clone(&self) -> RemoteWalletInfo
fn clone(&self) -> RemoteWalletInfo
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 RemoteWalletInfo
impl Debug for RemoteWalletInfo
source§impl Default for RemoteWalletInfo
impl Default for RemoteWalletInfo
source§fn default() -> RemoteWalletInfo
fn default() -> RemoteWalletInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RemoteWalletInfo
impl RefUnwindSafe for RemoteWalletInfo
impl Send for RemoteWalletInfo
impl Sync for RemoteWalletInfo
impl Unpin for RemoteWalletInfo
impl UnwindSafe for RemoteWalletInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more