pub struct InvoiceAttr(/* private fields */);Implementations§
Source§impl InvoiceAttr
impl InvoiceAttr
pub const ITEMS_COUNT: usize = 10
pub fn item_id(&self) -> Number
pub fn to_enum(&self) -> InvoiceAttrUnion
pub fn as_reader<'r>(&'r self) -> InvoiceAttrReader<'r>
Trait Implementations§
Source§impl Clone for InvoiceAttr
impl Clone for InvoiceAttr
Source§fn clone(&self) -> InvoiceAttr
fn clone(&self) -> InvoiceAttr
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 Debug for InvoiceAttr
impl Debug for InvoiceAttr
Source§impl Default for InvoiceAttr
impl Default for InvoiceAttr
Source§impl Display for InvoiceAttr
impl Display for InvoiceAttr
Source§impl Entity for InvoiceAttr
impl Entity for InvoiceAttr
const NAME: &'static str = "InvoiceAttr"
type Builder = InvoiceAttrBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl From<Attribute> for InvoiceAttr
impl From<Attribute> for InvoiceAttr
Source§impl From<Description> for InvoiceAttr
impl From<Description> for InvoiceAttr
Source§fn from(value: Description) -> Self
fn from(value: Description) -> Self
Converts to this type from the input type.
Source§impl From<ExpiryTime> for InvoiceAttr
impl From<ExpiryTime> for InvoiceAttr
Source§fn from(value: ExpiryTime) -> Self
fn from(value: ExpiryTime) -> Self
Converts to this type from the input type.
Source§impl From<FallbackAddr> for InvoiceAttr
impl From<FallbackAddr> for InvoiceAttr
Source§fn from(value: FallbackAddr) -> Self
fn from(value: FallbackAddr) -> Self
Converts to this type from the input type.
Source§impl From<Feature> for InvoiceAttr
impl From<Feature> for InvoiceAttr
Source§impl From<FinalHtlcMinimumExpiryDelta> for InvoiceAttr
impl From<FinalHtlcMinimumExpiryDelta> for InvoiceAttr
Source§fn from(value: FinalHtlcMinimumExpiryDelta) -> Self
fn from(value: FinalHtlcMinimumExpiryDelta) -> Self
Converts to this type from the input type.
Source§impl From<FinalHtlcTimeout> for InvoiceAttr
impl From<FinalHtlcTimeout> for InvoiceAttr
Source§fn from(value: FinalHtlcTimeout) -> Self
fn from(value: FinalHtlcTimeout) -> Self
Converts to this type from the input type.
Source§impl From<HashAlgorithm> for InvoiceAttr
impl From<HashAlgorithm> for InvoiceAttr
Source§fn from(value: HashAlgorithm) -> Self
fn from(value: HashAlgorithm) -> Self
Converts to this type from the input type.
Source§impl From<InvoiceAttr> for Attribute
impl From<InvoiceAttr> for Attribute
Source§fn from(attr: InvoiceAttr) -> Self
fn from(attr: InvoiceAttr) -> Self
Converts to this type from the input type.
Source§impl From<PayeePublicKey> for InvoiceAttr
impl From<PayeePublicKey> for InvoiceAttr
Source§fn from(value: PayeePublicKey) -> Self
fn from(value: PayeePublicKey) -> Self
Converts to this type from the input type.
Source§impl From<PaymentSecret> for InvoiceAttr
impl From<PaymentSecret> for InvoiceAttr
Source§fn from(value: PaymentSecret) -> Self
fn from(value: PaymentSecret) -> Self
Converts to this type from the input type.
Source§impl From<UdtScript> for InvoiceAttr
impl From<UdtScript> for InvoiceAttr
Source§impl FromIterator<InvoiceAttr> for InvoiceAttrsVec
impl FromIterator<InvoiceAttr> for InvoiceAttrsVec
Source§fn from_iter<T: IntoIterator<Item = InvoiceAttr>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = InvoiceAttr>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl !Freeze for InvoiceAttr
impl RefUnwindSafe for InvoiceAttr
impl Send for InvoiceAttr
impl Sync for InvoiceAttr
impl Unpin for InvoiceAttr
impl UnsafeUnpin for InvoiceAttr
impl UnwindSafe for InvoiceAttr
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