pub struct Account {
pub index: u32,
pub label: String,
pub taproot_address: String,
pub taproot_public_key: String,
pub payment_address: Option<String>,
pub payment_public_key: Option<String>,
}Expand description
Account summary returned by discovery and account listing APIs.
Fields§
§index: u32Account index.
label: StringHuman-readable account label.
taproot_address: StringTaproot receive address.
taproot_public_key: StringTaproot public key for account receive path.
payment_address: Option<String>Payment receive address when in dual mode.
payment_public_key: Option<String>Payment public key when in dual mode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
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