[−][src]Enum lightning_invoice::TaggedField
Tagged field with known tag
For descriptions of the enum values please refer to the enclosed type's docs.
Variants
PaymentHash(Sha256)
Description(Description)
PayeePubKey(PayeePubKey)
DescriptionHash(Sha256)
ExpiryTime(ExpiryTime)
MinFinalCltvExpiry(MinFinalCltvExpiry)
Fallback(Fallback)
Route(Route)
Implementations
impl TaggedField
[src]
Trait Implementations
impl Clone for TaggedField
[src]
fn clone(&self) -> TaggedField
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TaggedField
[src]
impl Eq for TaggedField
[src]
impl From<TaggedField> for RawTaggedField
[src]
fn from(tf: TaggedField) -> Self
[src]
impl FromBase32 for TaggedField
[src]
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
fn from_base32(field: &[u5]) -> Result<TaggedField, ParseError>
[src]
impl PartialEq<TaggedField> for TaggedField
[src]
fn eq(&self, other: &TaggedField) -> bool
[src]
fn ne(&self, other: &TaggedField) -> bool
[src]
impl StructuralEq for TaggedField
[src]
impl StructuralPartialEq for TaggedField
[src]
impl ToBase32 for TaggedField
[src]
fn write_base32<W: WriteBase32>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err>
[src]
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err>
fn to_base32(&self) -> Vec<u5>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TaggedField
impl Send for TaggedField
impl Sync for TaggedField
impl Unpin for TaggedField
impl UnwindSafe for TaggedField
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToBase32 for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
[src]
W: WriteBase32,
fn to_base32(&self) -> Vec<u5>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,