pub struct UpdateHumanBitcoinAddress {
pub username: Username,
pub offer: Offer,
}Expand description
Creates or updates a 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 Debug for UpdateHumanBitcoinAddress
impl Debug for UpdateHumanBitcoinAddress
Source§impl<'de> Deserialize<'de> for UpdateHumanBitcoinAddress
impl<'de> Deserialize<'de> for UpdateHumanBitcoinAddress
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateHumanBitcoinAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateHumanBitcoinAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateHumanBitcoinAddress
impl Serialize for UpdateHumanBitcoinAddress
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 UpdateHumanBitcoinAddress
Auto Trait Implementations§
impl Freeze for UpdateHumanBitcoinAddress
impl RefUnwindSafe for UpdateHumanBitcoinAddress
impl Send for UpdateHumanBitcoinAddress
impl Sync for UpdateHumanBitcoinAddress
impl Unpin for UpdateHumanBitcoinAddress
impl UnsafeUnpin for UpdateHumanBitcoinAddress
impl UnwindSafe for UpdateHumanBitcoinAddress
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