[][src]Trait hal_elements::GetInfo

pub trait GetInfo<T: Serialize> {
    fn get_info(&self, network: Network) -> T;
}

Get JSON-able objects that describe the type.

Required methods

fn get_info(&self, network: Network) -> T

Get a description of this object given the network of interest.

Loading content...

Implementations on Foreign Types

impl<'a> GetInfo<ParamsInfo> for Params[src]

impl<'a> GetInfo<BlockHeaderInfo> for BlockHeader[src]

impl GetInfo<BlockInfo> for Block[src]

impl GetInfo<AssetIssuanceInfo> for AssetIssuance[src]

impl<'tx> GetInfo<PeginDataInfo> for PeginData<'tx>[src]

impl GetInfo<InputWitnessInfo> for TxInWitness[src]

impl GetInfo<InputInfo> for TxIn[src]

impl<'tx> GetInfo<PegoutDataInfo> for PegoutData<'tx>[src]

impl GetInfo<OutputWitnessInfo> for TxOutWitness[src]

impl GetInfo<OutputInfo> for TxOut[src]

impl GetInfo<TransactionInfo> for Transaction[src]

impl GetInfo<ConfidentialValueInfo> for Value[src]

impl GetInfo<ConfidentialAssetInfo> for Asset[src]

impl GetInfo<ConfidentialNonceInfo> for Nonce[src]

Loading content...

Implementors

Loading content...