pub struct GetHumanBitcoinAddressResponse {
pub human_bitcoin_address: String,
pub lightning_address: String,
pub offer: Offer,
pub updatable: bool,
}Expand description
The user’s Human Bitcoin Address.
Fields§
§human_bitcoin_address: StringThe Human Bitcoin Address (BIP 353), e.g. ₿satoshi@lexe.app.
lightning_address: StringThe Lightning Address, e.g. satoshi@lexe.app.
offer: OfferThe BOLT 12 offer that the Human Bitcoin Address resolves to.
updatable: boolWhether the username can currently be changed. Usernames are updatable for 24 hours after being claimed, then frozen for 90 days.
Trait Implementations§
Source§impl Clone for GetHumanBitcoinAddressResponse
impl Clone for GetHumanBitcoinAddressResponse
Source§fn clone(&self) -> GetHumanBitcoinAddressResponse
fn clone(&self) -> GetHumanBitcoinAddressResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GetHumanBitcoinAddressResponse
impl<'de> Deserialize<'de> for GetHumanBitcoinAddressResponse
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<ActiveHumanBitcoinAddress> for GetHumanBitcoinAddressResponse
impl From<ActiveHumanBitcoinAddress> for GetHumanBitcoinAddressResponse
Source§impl PartialEq for GetHumanBitcoinAddressResponse
impl PartialEq for GetHumanBitcoinAddressResponse
Source§fn eq(&self, other: &GetHumanBitcoinAddressResponse) -> bool
fn eq(&self, other: &GetHumanBitcoinAddressResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetHumanBitcoinAddressResponse
Auto Trait Implementations§
impl Freeze for GetHumanBitcoinAddressResponse
impl RefUnwindSafe for GetHumanBitcoinAddressResponse
impl Send for GetHumanBitcoinAddressResponse
impl Sync for GetHumanBitcoinAddressResponse
impl Unpin for GetHumanBitcoinAddressResponse
impl UnwindSafe for GetHumanBitcoinAddressResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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