pub struct Opout {
pub op: OpId,
pub ty: u16,
pub no: u16,
}
Expand description
RGB contract operation output pointer, defined by the operation ID and output number.
Fields§
§op: OpId
§ty: u16
§no: u16
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Opout
impl<'de> Deserialize<'de> for Opout
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Opout, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Opout, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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 Serialize for Opout
impl Serialize for Opout
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl StrictDecode for Opout
impl StrictDecode for Opout
fn strict_decode(reader: &mut impl TypedRead) -> Result<Opout, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
Source§impl StrictDumb for Opout
impl StrictDumb for Opout
fn strict_dumb() -> Opout
Source§impl StrictEncode for Opout
impl StrictEncode for Opout
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, 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
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<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.