pub struct ClaimGeneratedHumanBitcoinAddress {
pub offer: Offer,
pub username: Username,
}Expand description
Claims a generated human Bitcoin address.
This endpoint is used during node initialization to claim an auto-generated
human Bitcoin address. The address will have is_primary: false and
is_generated: true.
Fields§
§offer: OfferOffer to be used to fetch invoices on BIP-353.
username: UsernameThe username to claim. This must be the username returned by
get_generated_username.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClaimGeneratedHumanBitcoinAddress
impl<'de> Deserialize<'de> for ClaimGeneratedHumanBitcoinAddress
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 ClaimGeneratedHumanBitcoinAddress
impl PartialEq for ClaimGeneratedHumanBitcoinAddress
Source§fn eq(&self, other: &ClaimGeneratedHumanBitcoinAddress) -> bool
fn eq(&self, other: &ClaimGeneratedHumanBitcoinAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClaimGeneratedHumanBitcoinAddress
Auto Trait Implementations§
impl Freeze for ClaimGeneratedHumanBitcoinAddress
impl RefUnwindSafe for ClaimGeneratedHumanBitcoinAddress
impl Send for ClaimGeneratedHumanBitcoinAddress
impl Sync for ClaimGeneratedHumanBitcoinAddress
impl Unpin for ClaimGeneratedHumanBitcoinAddress
impl UnsafeUnpin for ClaimGeneratedHumanBitcoinAddress
impl UnwindSafe for ClaimGeneratedHumanBitcoinAddress
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