pub struct GetHumanBitcoinAddressResponse {
pub hba: Option<ActiveHumanBitcoinAddress>,
}Expand description
Response for get_human_bitcoin_address.
Fields§
§hba: Option<ActiveHumanBitcoinAddress>The user’s active HBA, or None if they haven’t claimed any yet.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetHumanBitcoinAddressResponse
impl<'de> Deserialize<'de> for GetHumanBitcoinAddressResponse
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
Source§impl From<GetHumanBitcoinAddressResponse> for HumanBitcoinAddressV1
impl From<GetHumanBitcoinAddressResponse> for HumanBitcoinAddressV1
Source§fn from(resp: GetHumanBitcoinAddressResponse) -> Self
fn from(resp: GetHumanBitcoinAddressResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetHumanBitcoinAddressResponse
impl PartialEq for GetHumanBitcoinAddressResponse
Source§fn eq(&self, other: &GetHumanBitcoinAddressResponse) -> bool
fn eq(&self, other: &GetHumanBitcoinAddressResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetHumanBitcoinAddressResponse
Auto Trait Implementations§
impl Freeze for GetHumanBitcoinAddressResponse
impl RefUnwindSafe for GetHumanBitcoinAddressResponse
impl Send for GetHumanBitcoinAddressResponse
impl Sync for GetHumanBitcoinAddressResponse
impl Unpin for GetHumanBitcoinAddressResponse
impl UnsafeUnpin for GetHumanBitcoinAddressResponse
impl UnwindSafe for GetHumanBitcoinAddressResponse
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