pub enum InvoiceAttrUnionReader<'r> {
ExpiryTime(ExpiryTimeReader<'r>),
Description(DescriptionReader<'r>),
FinalHtlcTimeout(FinalHtlcTimeoutReader<'r>),
FinalHtlcMinimumExpiryDelta(FinalHtlcMinimumExpiryDeltaReader<'r>),
FallbackAddr(FallbackAddrReader<'r>),
Feature(FeatureReader<'r>),
UdtScript(UdtScriptReader<'r>),
PayeePublicKey(PayeePublicKeyReader<'r>),
HashAlgorithm(HashAlgorithmReader<'r>),
PaymentSecret(PaymentSecretReader<'r>),
}Variants§
ExpiryTime(ExpiryTimeReader<'r>)
Description(DescriptionReader<'r>)
FinalHtlcTimeout(FinalHtlcTimeoutReader<'r>)
FinalHtlcMinimumExpiryDelta(FinalHtlcMinimumExpiryDeltaReader<'r>)
FallbackAddr(FallbackAddrReader<'r>)
Feature(FeatureReader<'r>)
UdtScript(UdtScriptReader<'r>)
PayeePublicKey(PayeePublicKeyReader<'r>)
HashAlgorithm(HashAlgorithmReader<'r>)
PaymentSecret(PaymentSecretReader<'r>)
Implementations§
Trait Implementations§
Source§impl<'r> Clone for InvoiceAttrUnionReader<'r>
impl<'r> Clone for InvoiceAttrUnionReader<'r>
Source§fn clone(&self) -> InvoiceAttrUnionReader<'r>
fn clone(&self) -> InvoiceAttrUnionReader<'r>
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<'r> Debug for InvoiceAttrUnionReader<'r>
impl<'r> Debug for InvoiceAttrUnionReader<'r>
Source§impl<'r> Display for InvoiceAttrUnionReader<'r>
impl<'r> Display for InvoiceAttrUnionReader<'r>
Source§impl<'r> From<DescriptionReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<DescriptionReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: DescriptionReader<'r>) -> Self
fn from(item: DescriptionReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<ExpiryTimeReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<ExpiryTimeReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: ExpiryTimeReader<'r>) -> Self
fn from(item: ExpiryTimeReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<FallbackAddrReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<FallbackAddrReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: FallbackAddrReader<'r>) -> Self
fn from(item: FallbackAddrReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<FeatureReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<FeatureReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: FeatureReader<'r>) -> Self
fn from(item: FeatureReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<FinalHtlcMinimumExpiryDeltaReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<FinalHtlcMinimumExpiryDeltaReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: FinalHtlcMinimumExpiryDeltaReader<'r>) -> Self
fn from(item: FinalHtlcMinimumExpiryDeltaReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<FinalHtlcTimeoutReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<FinalHtlcTimeoutReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: FinalHtlcTimeoutReader<'r>) -> Self
fn from(item: FinalHtlcTimeoutReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<HashAlgorithmReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<HashAlgorithmReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: HashAlgorithmReader<'r>) -> Self
fn from(item: HashAlgorithmReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<PayeePublicKeyReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<PayeePublicKeyReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: PayeePublicKeyReader<'r>) -> Self
fn from(item: PayeePublicKeyReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<PaymentSecretReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<PaymentSecretReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: PaymentSecretReader<'r>) -> Self
fn from(item: PaymentSecretReader<'r>) -> Self
Converts to this type from the input type.
Source§impl<'r> From<UdtScriptReader<'r>> for InvoiceAttrUnionReader<'r>
impl<'r> From<UdtScriptReader<'r>> for InvoiceAttrUnionReader<'r>
Source§fn from(item: UdtScriptReader<'r>) -> Self
fn from(item: UdtScriptReader<'r>) -> Self
Converts to this type from the input type.
impl<'r> Copy for InvoiceAttrUnionReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for InvoiceAttrUnionReader<'r>
impl<'r> RefUnwindSafe for InvoiceAttrUnionReader<'r>
impl<'r> Send for InvoiceAttrUnionReader<'r>
impl<'r> Sync for InvoiceAttrUnionReader<'r>
impl<'r> Unpin for InvoiceAttrUnionReader<'r>
impl<'r> UnsafeUnpin for InvoiceAttrUnionReader<'r>
impl<'r> UnwindSafe for InvoiceAttrUnionReader<'r>
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