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§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