pub struct UpsertCustomHumanBitcoinAddress {
pub username: Username,
pub offer: Offer,
}Expand description
Upserts the user’s custom human Bitcoin address.
Fields§
§username: UsernameUsername for BIP-353 and LNURL.
offer: OfferOffer to be used to fetch invoices on BIP-353.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpsertCustomHumanBitcoinAddress
impl<'de> Deserialize<'de> for UpsertCustomHumanBitcoinAddress
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 PartialEq for UpsertCustomHumanBitcoinAddress
impl PartialEq for UpsertCustomHumanBitcoinAddress
Source§fn eq(&self, other: &UpsertCustomHumanBitcoinAddress) -> bool
fn eq(&self, other: &UpsertCustomHumanBitcoinAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpsertCustomHumanBitcoinAddress
Auto Trait Implementations§
impl Freeze for UpsertCustomHumanBitcoinAddress
impl RefUnwindSafe for UpsertCustomHumanBitcoinAddress
impl Send for UpsertCustomHumanBitcoinAddress
impl Sync for UpsertCustomHumanBitcoinAddress
impl Unpin for UpsertCustomHumanBitcoinAddress
impl UnsafeUnpin for UpsertCustomHumanBitcoinAddress
impl UnwindSafe for UpsertCustomHumanBitcoinAddress
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