[−][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]
pub fn clone(&self) -> TaggedField
[src]
pub 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]
pub 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).
pub fn from_base32(field: &[u5]) -> Result<TaggedField, ParseError>
[src]
impl PartialEq<TaggedField> for TaggedField
[src]
pub fn eq(&self, other: &TaggedField) -> bool
[src]
pub fn ne(&self, other: &TaggedField) -> bool
[src]
impl StructuralEq for TaggedField
[src]
impl StructuralPartialEq for TaggedField
[src]
impl ToBase32 for TaggedField
[src]
Auto Trait Implementations
impl RefUnwindSafe for TaggedField
[src]
impl Send for TaggedField
[src]
impl Sync for TaggedField
[src]
impl Unpin for TaggedField
[src]
impl UnwindSafe for TaggedField
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,