pub struct Opout {
pub op: OpId,
pub ty: AssignmentType,
pub no: u16,
}
Expand description
RGB contract operation output pointer, defined by the operation ID and output number.
Fields§
§op: OpId
§ty: AssignmentType
§no: u16
Implementations§
Trait Implementations§
Source§impl CommitEncode for Opout
impl CommitEncode for Opout
Source§type CommitmentId = MerkleHash
type CommitmentId = MerkleHash
Type of the resulting commitment.
Source§fn commit_encode(&self, engine: &mut CommitEngine)
fn commit_encode(&self, engine: &mut CommitEngine)
Encodes the data for the commitment by writing them directly into a
std::io::Write
writer instanceSource§impl<'de> Deserialize<'de> for Opout
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Opout
Available on crate feature
serde
only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Opout
impl Ord for Opout
Source§impl PartialOrd for Opout
impl PartialOrd for Opout
Source§impl StrictDecode for Opout
impl StrictDecode for Opout
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for Opout
impl StrictDumb for Opout
fn strict_dumb() -> Self
Source§impl StrictEncode for Opout
impl StrictEncode for Opout
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for Opout
impl StrictStruct for Opout
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for Opout
impl StrictType for Opout
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_COMMIT
fn strict_name() -> Option<TypeName>
impl Copy for Opout
impl Eq for Opout
impl StrictProduct for Opout
impl StructuralPartialEq for Opout
Auto Trait Implementations§
impl Freeze for Opout
impl RefUnwindSafe for Opout
impl Send for Opout
impl Sync for Opout
impl Unpin for Opout
impl UnwindSafe for Opout
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.