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<GetHumanBitcoinAddressResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetHumanBitcoinAddressResponse, <__D as Deserializer<'de>>::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) -> HumanBitcoinAddressV1
fn from(resp: GetHumanBitcoinAddressResponse) -> HumanBitcoinAddressV1
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 ==.Source§impl Serialize for GetHumanBitcoinAddressResponse
impl Serialize for GetHumanBitcoinAddressResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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