pub struct UpsertHumanBitcoinAddressResponse {
pub hba: ActiveHumanBitcoinAddress,
}Expand description
Response for upsert_custom_human_bitcoin_address.
Unlike GetHumanBitcoinAddressResponse, the HBA is never absent here: a
successful upsert always yields the primary custom HBA it just set.
Fields§
§hba: ActiveHumanBitcoinAddressThe active HBA that was just claimed, renamed, or refreshed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpsertHumanBitcoinAddressResponse
impl<'de> Deserialize<'de> for UpsertHumanBitcoinAddressResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpsertHumanBitcoinAddressResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpsertHumanBitcoinAddressResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<UpsertHumanBitcoinAddressResponse> for HumanBitcoinAddressV1
impl From<UpsertHumanBitcoinAddressResponse> for HumanBitcoinAddressV1
Source§fn from(resp: UpsertHumanBitcoinAddressResponse) -> HumanBitcoinAddressV1
fn from(resp: UpsertHumanBitcoinAddressResponse) -> HumanBitcoinAddressV1
Converts to this type from the input type.
Source§impl PartialEq for UpsertHumanBitcoinAddressResponse
impl PartialEq for UpsertHumanBitcoinAddressResponse
Source§fn eq(&self, other: &UpsertHumanBitcoinAddressResponse) -> bool
fn eq(&self, other: &UpsertHumanBitcoinAddressResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpsertHumanBitcoinAddressResponse
impl Serialize for UpsertHumanBitcoinAddressResponse
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 UpsertHumanBitcoinAddressResponse
Auto Trait Implementations§
impl Freeze for UpsertHumanBitcoinAddressResponse
impl RefUnwindSafe for UpsertHumanBitcoinAddressResponse
impl Send for UpsertHumanBitcoinAddressResponse
impl Sync for UpsertHumanBitcoinAddressResponse
impl Unpin for UpsertHumanBitcoinAddressResponse
impl UnsafeUnpin for UpsertHumanBitcoinAddressResponse
impl UnwindSafe for UpsertHumanBitcoinAddressResponse
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