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: u64asset: ConfidentialAssetInfogenesis_hash: BlockHashscript_pub_key: OutputScriptInfoextra_data: Vec<HexBytes>Trait Implementations
sourceimpl Clone for PegoutDataInfo
impl Clone for PegoutDataInfo
sourcefn clone(&self) -> PegoutDataInfo
fn clone(&self) -> PegoutDataInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PegoutDataInfo
impl Debug for PegoutDataInfo
sourceimpl<'de> Deserialize<'de> for PegoutDataInfo
impl<'de> Deserialize<'de> for PegoutDataInfo
sourcefn 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
sourceimpl<'tx> GetInfo<PegoutDataInfo> for PegoutData<'tx>
impl<'tx> GetInfo<PegoutDataInfo> for PegoutData<'tx>
sourcefn get_info(&self, network: Network) -> PegoutDataInfo
fn get_info(&self, network: Network) -> PegoutDataInfo
Get a description of this object given the network of interest.
sourceimpl PartialEq<PegoutDataInfo> for PegoutDataInfo
impl PartialEq<PegoutDataInfo> for PegoutDataInfo
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &PegoutDataInfo) -> bool
fn ne(&self, other: &PegoutDataInfo) -> bool
This method tests for !=.
sourceimpl Serialize for PegoutDataInfo
impl Serialize for PegoutDataInfo
impl Eq for PegoutDataInfo
impl StructuralEq for PegoutDataInfo
impl StructuralPartialEq for PegoutDataInfo
Auto Trait Implementations
impl RefUnwindSafe for PegoutDataInfo
impl Send for PegoutDataInfo
impl Sync for PegoutDataInfo
impl Unpin for PegoutDataInfo
impl UnwindSafe for PegoutDataInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more