pub struct AssetClaimOutput {
pub asset_id: [u8; 32],
pub group_key: Option<SerializedKey>,
pub meta_hash: Option<[u8; 32]>,
pub proof_version: u32,
pub is_transfer_root: bool,
pub has_split_commitment: bool,
pub stxo_required: bool,
}Expand description
Output for the asset integrity claim.
Fields§
§asset_id: [u8; 32]Asset ID derived from genesis information.
group_key: Option<SerializedKey>Group key, if the asset is grouped.
meta_hash: Option<[u8; 32]>Meta hash, if one is set.
proof_version: u32Proof version committed by the claim.
is_transfer_root: boolTrue if the asset represents a transfer root.
has_split_commitment: boolTrue if the asset has a split commitment witness.
stxo_required: boolTrue if STXO proofs are required for this asset and proof version.
Trait Implementations§
Source§impl Clone for AssetClaimOutput
impl Clone for AssetClaimOutput
Source§fn clone(&self) -> AssetClaimOutput
fn clone(&self) -> AssetClaimOutput
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 AssetClaimOutput
impl Debug for AssetClaimOutput
Source§impl<'de> Deserialize<'de> for AssetClaimOutput
impl<'de> Deserialize<'de> for AssetClaimOutput
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 AssetClaimOutput
Source§impl PartialEq for AssetClaimOutput
impl PartialEq for AssetClaimOutput
Source§fn eq(&self, other: &AssetClaimOutput) -> bool
fn eq(&self, other: &AssetClaimOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AssetClaimOutput
impl Serialize for AssetClaimOutput
impl StructuralPartialEq for AssetClaimOutput
Auto Trait Implementations§
impl Freeze for AssetClaimOutput
impl RefUnwindSafe for AssetClaimOutput
impl Send for AssetClaimOutput
impl Sync for AssetClaimOutput
impl Unpin for AssetClaimOutput
impl UnsafeUnpin for AssetClaimOutput
impl UnwindSafe for AssetClaimOutput
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