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: u16Implementations§
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 PartialEq<Opout> for Opout
impl PartialEq<Opout> for Opout
source§impl PartialOrd<Opout> for Opout
impl PartialOrd<Opout> for Opout
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§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>
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,
source§impl StrictStruct for Opout
impl StrictStruct for Opout
const ALL_FIELDS: &'static [&'static str] = &["op", "ty", "no"]
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 StructuralEq for Opout
impl StructuralPartialEq for Opout
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.