Struct rgbstd::contract::BundleItem  
source · pub struct BundleItem {
    pub inputs: Confined<BTreeSet<u16, Global>, amplify::::collection::confinement::TinyOrdSet::{constant#0}, amplify::::collection::confinement::TinyOrdSet::{constant#1}>,
    pub transition: Option<Transition>,
}Fields§
§inputs: Confined<BTreeSet<u16, Global>, amplify::::collection::confinement::TinyOrdSet::{constant#0}, amplify::::collection::confinement::TinyOrdSet::{constant#1}>§transition: Option<Transition>Trait Implementations§
source§impl Clone for BundleItem
 
impl Clone for BundleItem
source§fn clone(&self) -> BundleItem
 
fn clone(&self) -> BundleItem
Returns a copy 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 Conceal for BundleItem
 
impl Conceal for BundleItem
§type Concealed = BundleItem
 
type Concealed = BundleItem
The resulting confidential type concealing original data.
source§impl Debug for BundleItem
 
impl Debug for BundleItem
source§impl<'de> Deserialize<'de> for BundleItem
 
impl<'de> Deserialize<'de> for BundleItem
source§fn deserialize<__D>(
    __deserializer: __D
) -> Result<BundleItem, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>( __deserializer: __D ) -> Result<BundleItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MergeReveal for BundleItem
 
impl MergeReveal for BundleItem
fn merge_reveal(self, other: Self) -> Result<Self, MergeRevealError>
source§impl PartialEq<BundleItem> for BundleItem
 
impl PartialEq<BundleItem> for BundleItem
source§fn eq(&self, other: &BundleItem) -> bool
 
fn eq(&self, other: &BundleItem) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for BundleItem
 
impl Serialize for BundleItem
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 BundleItem
 
impl StrictDecode for BundleItem
fn strict_decode(reader: &mut impl TypedRead) -> Result<BundleItem, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDumb for BundleItem
 
impl StrictDumb for BundleItem
fn strict_dumb() -> BundleItem
source§impl StrictEncode for BundleItem
 
impl StrictEncode for BundleItem
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 BundleItem
 
impl StrictStruct for BundleItem
const ALL_FIELDS: &'static [&'static str] = &["inputs", "transition"]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for BundleItem
 
impl StrictType for BundleItem
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
impl Eq for BundleItem
impl StrictProduct for BundleItem
impl StructuralEq for BundleItem
impl StructuralPartialEq for BundleItem
Auto Trait Implementations§
impl RefUnwindSafe for BundleItem
impl Send for BundleItem
impl Sync for BundleItem
impl Unpin for BundleItem
impl UnwindSafe for BundleItem
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
§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.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.