pub struct AssetClaimInput {
pub prev_out: OutPoint,
pub inclusion_output_index: u32,
pub proof_version: u32,
pub asset: Asset,
pub genesis_reveal: Option<GenesisReveal>,
pub meta_reveal: Option<MetaReveal>,
pub group_key_reveal: Option<GroupKeyReveal>,
}Expand description
Input for the asset integrity claim.
Fields§
§prev_out: OutPointPrevious outpoint referenced by the proof.
inclusion_output_index: u32Output index from the inclusion proof.
proof_version: u32Proof version of the enclosing proof.
asset: AssetThe asset being verified.
genesis_reveal: Option<GenesisReveal>Genesis reveal payload, if present.
meta_reveal: Option<MetaReveal>Meta reveal payload, if present.
group_key_reveal: Option<GroupKeyReveal>Group key reveal payload, if present.
Implementations§
Source§impl AssetClaimInput
impl AssetClaimInput
Sourcepub fn from_proof(proof: &Proof) -> Self
pub fn from_proof(proof: &Proof) -> Self
Builds an asset integrity input from a full proof.
Trait Implementations§
Source§impl Clone for AssetClaimInput
impl Clone for AssetClaimInput
Source§fn clone(&self) -> AssetClaimInput
fn clone(&self) -> AssetClaimInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssetClaimInput
impl Debug for AssetClaimInput
Source§impl<'de> Deserialize<'de> for AssetClaimInput
impl<'de> Deserialize<'de> for AssetClaimInput
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
impl Eq for AssetClaimInput
Source§impl PartialEq for AssetClaimInput
impl PartialEq for AssetClaimInput
Source§fn eq(&self, other: &AssetClaimInput) -> bool
fn eq(&self, other: &AssetClaimInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AssetClaimInput
impl Serialize for AssetClaimInput
impl StructuralPartialEq for AssetClaimInput
Auto Trait Implementations§
impl Freeze for AssetClaimInput
impl RefUnwindSafe for AssetClaimInput
impl Send for AssetClaimInput
impl Sync for AssetClaimInput
impl Unpin for AssetClaimInput
impl UnsafeUnpin for AssetClaimInput
impl UnwindSafe for AssetClaimInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more