[][src]Struct lnpbp::short_id::ShortId

pub struct ShortId(_);

Implementations

impl ShortId[src]

pub const FLAG_OFFCHAIN: u64[src]

pub const MASK_BLOCK: u64[src]

pub const MASK_BLOCKCHECK: u64[src]

pub const MASK_TXIDX: u64[src]

pub const MASK_TXCHECK: u64[src]

pub const FLAG_INOUT: u64[src]

pub const MASK_INOUT: u64[src]

pub const SHIFT_BLOCK: u64[src]

pub const SHIFT_BLOCKCHECK: u64[src]

pub const SHIFT_TXIDX: u64[src]

pub fn is_onchain(&self) -> bool[src]

pub fn is_offchain(&self) -> bool[src]

pub fn get_descriptor(&self) -> Descriptor[src]

pub fn into_u64(self) -> u64[src]

Trait Implementations

impl Clone for ShortId[src]

impl Copy for ShortId[src]

impl Debug for ShortId[src]

impl Display for ShortId[src]

impl Eq for ShortId[src]

impl From<ShortId> for Descriptor[src]

impl From<u64> for ShortId[src]

impl Hash for ShortId[src]

impl Ord for ShortId[src]

impl PartialEq<ShortId> for ShortId[src]

impl PartialOrd<ShortId> for ShortId[src]

impl StrictDecode for ShortId[src]

impl StrictEncode for ShortId[src]

impl StructuralEq for ShortId[src]

impl StructuralPartialEq for ShortId[src]

impl TryFrom<Descriptor> for ShortId[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.