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<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<UpsertHumanBitcoinAddressResponse> for HumanBitcoinAddressV1
impl From<UpsertHumanBitcoinAddressResponse> for HumanBitcoinAddressV1
Source§fn from(resp: UpsertHumanBitcoinAddressResponse) -> Self
fn from(resp: UpsertHumanBitcoinAddressResponse) -> Self
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 ==.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