Struct hal_elements::tx::PegoutDataInfo
source · pub struct PegoutDataInfo {
pub value: u64,
pub asset: ConfidentialAssetInfo,
pub genesis_hash: BlockHash,
pub script_pub_key: OutputScriptInfo,
pub extra_data: Vec<HexBytes>,
}
Fields§
§value: u64
§asset: ConfidentialAssetInfo
§genesis_hash: BlockHash
§script_pub_key: OutputScriptInfo
§extra_data: Vec<HexBytes>
Trait Implementations§
source§impl Clone for PegoutDataInfo
impl Clone for PegoutDataInfo
source§fn clone(&self) -> PegoutDataInfo
fn clone(&self) -> PegoutDataInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PegoutDataInfo
impl Debug for PegoutDataInfo
source§impl<'de> Deserialize<'de> for PegoutDataInfo
impl<'de> Deserialize<'de> for PegoutDataInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'tx> GetInfo<PegoutDataInfo> for PegoutData<'tx>
impl<'tx> GetInfo<PegoutDataInfo> for PegoutData<'tx>
source§fn get_info(&self, network: Network) -> PegoutDataInfo
fn get_info(&self, network: Network) -> PegoutDataInfo
Get a description of this object given the network of interest.
source§impl PartialEq<PegoutDataInfo> for PegoutDataInfo
impl PartialEq<PegoutDataInfo> for PegoutDataInfo
source§fn eq(&self, other: &PegoutDataInfo) -> bool
fn eq(&self, other: &PegoutDataInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.