pub struct OpDisclose {
pub id: OpId,
pub seals: Confined<BTreeMap<AssignmentIndex, SecretSeal>, amplify::::collection::confinement::MediumOrdMap::{constant#0}, amplify::::collection::confinement::MediumOrdMap::{constant#1}>,
pub fungible: Confined<BTreeMap<AssignmentIndex, RevealedValue>, amplify::::collection::confinement::MediumOrdMap::{constant#0}, amplify::::collection::confinement::MediumOrdMap::{constant#1}>,
pub data: Confined<BTreeMap<AssignmentIndex, RevealedData>, amplify::::collection::confinement::MediumOrdMap::{constant#0}, amplify::::collection::confinement::MediumOrdMap::{constant#1}>,
}Fields§
§id: OpId§seals: Confined<BTreeMap<AssignmentIndex, SecretSeal>, amplify::::collection::confinement::MediumOrdMap::{constant#0}, amplify::::collection::confinement::MediumOrdMap::{constant#1}>§fungible: Confined<BTreeMap<AssignmentIndex, RevealedValue>, amplify::::collection::confinement::MediumOrdMap::{constant#0}, amplify::::collection::confinement::MediumOrdMap::{constant#1}>§data: Confined<BTreeMap<AssignmentIndex, RevealedData>, amplify::::collection::confinement::MediumOrdMap::{constant#0}, amplify::::collection::confinement::MediumOrdMap::{constant#1}>Trait Implementations§
Source§impl Clone for OpDisclose
impl Clone for OpDisclose
Source§fn clone(&self) -> OpDisclose
fn clone(&self) -> OpDisclose
Returns a duplicate 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 CommitEncode for OpDisclose
impl CommitEncode for OpDisclose
Source§type CommitmentId = DiscloseHash
type CommitmentId = DiscloseHash
Type of the resulting commitment.
Source§fn commit_encode(&self, e: &mut CommitEngine)
fn commit_encode(&self, e: &mut CommitEngine)
Encodes the data for the commitment by writing them directly into a
std::io::Write writer instanceSource§impl Debug for OpDisclose
impl Debug for OpDisclose
Source§impl Hash for OpDisclose
impl Hash for OpDisclose
Source§impl PartialEq for OpDisclose
impl PartialEq for OpDisclose
Source§impl StrictDecode for OpDisclose
impl StrictDecode for OpDisclose
fn strict_decode(reader: &mut impl TypedRead) -> Result<OpDisclose, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for OpDisclose
impl StrictDumb for OpDisclose
fn strict_dumb() -> OpDisclose
Source§impl StrictEncode for OpDisclose
impl StrictEncode for OpDisclose
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for OpDisclose
impl StrictStruct for OpDisclose
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for OpDisclose
impl StrictType for OpDisclose
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_COMMIT
fn strict_name() -> Option<TypeName>
impl Eq for OpDisclose
impl StrictProduct for OpDisclose
impl StructuralPartialEq for OpDisclose
Auto Trait Implementations§
impl Freeze for OpDisclose
impl RefUnwindSafe for OpDisclose
impl Send for OpDisclose
impl Sync for OpDisclose
impl Unpin for OpDisclose
impl UnwindSafe for OpDisclose
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CommitId for Twhere
T: CommitEncode,
impl<T> CommitId for Twhere
T: CommitEncode,
fn commit(&self) -> CommitEngine
Source§fn commit_id(&self) -> <T as CommitEncode>::CommitmentId
fn commit_id(&self) -> <T as CommitEncode>::CommitmentId
Performs commitment to client-side-validated data
Source§impl<T> CommitmentLayout for Twhere
T: CommitEncode + StrictDumb,
impl<T> CommitmentLayout for Twhere
T: CommitEncode + StrictDumb,
fn commitment_layout() -> CommitLayout
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.