pub struct HumanBitcoinAddress {
pub username: Option<Username>,
pub offer: Option<Offer>,
pub updated_at: Option<TimestampMs>,
pub updatable: bool,
}Fields§
§username: Option<Username>Current username for BIP-353 and LNURL.
offer: Option<Offer>Current offer for fetching invoices on BIP-353.
updated_at: Option<TimestampMs>Last time the human Bitcoin address was updated.
updatable: boolWhether the human Bitcoin address can be updated. Always true for
generated addresses; for claimed addresses, depends on time-based
freeze rules.
Trait Implementations§
Source§impl Debug for HumanBitcoinAddress
impl Debug for HumanBitcoinAddress
Source§impl<'de> Deserialize<'de> for HumanBitcoinAddress
impl<'de> Deserialize<'de> for HumanBitcoinAddress
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 HumanBitcoinAddress
impl PartialEq for HumanBitcoinAddress
Source§impl Serialize for HumanBitcoinAddress
impl Serialize for HumanBitcoinAddress
impl StructuralPartialEq for HumanBitcoinAddress
Auto Trait Implementations§
impl Freeze for HumanBitcoinAddress
impl RefUnwindSafe for HumanBitcoinAddress
impl Send for HumanBitcoinAddress
impl Sync for HumanBitcoinAddress
impl Unpin for HumanBitcoinAddress
impl UnsafeUnpin for HumanBitcoinAddress
impl UnwindSafe for HumanBitcoinAddress
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