pub struct BrowserWalletInfoProps {
pub name: String,
pub chains: Vec<String>,
pub version: String,
pub icon: String,
pub features: BrowserWalletInfoFeatures,
pub accounts: Vec<BrowserWalletAccountInfoProps>,
}Fields§
§name: String§chains: Vec<String>§version: String§icon: String§features: BrowserWalletInfoFeatures§accounts: Vec<BrowserWalletAccountInfoProps>Implementations§
Source§impl BrowserWalletInfoProps
impl BrowserWalletInfoProps
Sourcepub fn builder() -> BrowserWalletInfoPropsBuilder<((), (), (), (), (), ())>
pub fn builder() -> BrowserWalletInfoPropsBuilder<((), (), (), (), (), ())>
Create a builder for building BrowserWalletInfoProps.
On the builder, call .name(...), .chains(...)(optional), .version(...), .icon(...), .features(...)(optional), .accounts(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of BrowserWalletInfoProps.
Trait Implementations§
Source§impl Clone for BrowserWalletInfoProps
impl Clone for BrowserWalletInfoProps
Source§fn clone(&self) -> BrowserWalletInfoProps
fn clone(&self) -> BrowserWalletInfoProps
Returns a duplicate 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 BrowserWalletInfoProps
impl Debug for BrowserWalletInfoProps
Source§impl<'de> Deserialize<'de> for BrowserWalletInfoProps
impl<'de> Deserialize<'de> for BrowserWalletInfoProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BrowserWalletInfoProps
impl RefUnwindSafe for BrowserWalletInfoProps
impl !Send for BrowserWalletInfoProps
impl !Sync for BrowserWalletInfoProps
impl Unpin for BrowserWalletInfoProps
impl UnwindSafe for BrowserWalletInfoProps
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