Enum lightning_invoice::Currency [−][src]
pub enum Currency { Bitcoin, BitcoinTestnet, Regtest, Simnet, }
Enum representing the crypto currencies (or networks) supported by this library
Variants
Bitcoin mainnet
Bitcoin testnet
Bitcoin regtest
Bitcoin simnet/signet
Trait Implementations
impl FromStr for Currency
[src]
impl FromStr for Currency
[src]type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(currency_prefix: &str) -> Result<Self, ParseError>
[src]
impl StructuralEq for Currency
[src]
impl StructuralEq for Currency
[src]impl StructuralPartialEq for Currency
[src]
impl StructuralPartialEq for Currency
[src]Auto Trait Implementations
impl RefUnwindSafe for Currency
impl RefUnwindSafe for Currency
impl UnwindSafe for Currency
impl UnwindSafe for Currency