pub struct BundleId(_);Expand description
Unique state transition bundle identifier equivalent to the bundle commitment hash
Trait Implementations§
source§impl<'de> Deserialize<'de> for BundleId
impl<'de> Deserialize<'de> for BundleId
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BundleId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<BundleId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromHex for BundleId
impl FromHex for BundleId
source§fn from_byte_iter<I>(iter: I) -> Result<BundleId, Error>where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_byte_iter<I>(iter: I) -> Result<BundleId, Error>where I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
Produce an object from a byte iterator
source§impl Ord for BundleId
impl Ord for BundleId
source§impl PartialEq<BundleId> for BundleId
impl PartialEq<BundleId> for BundleId
source§impl PartialOrd<BundleId> for BundleId
impl PartialOrd<BundleId> for BundleId
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 BundleId
impl Serialize for BundleId
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 BundleId
impl StrictDecode for BundleId
fn strict_decode(reader: &mut impl TypedRead) -> Result<BundleId, DecodeError>
source§impl StrictDumb for BundleId
impl StrictDumb for BundleId
fn strict_dumb() -> BundleId
source§impl StrictEncode for BundleId
impl StrictEncode for BundleId
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where W: TypedWrite,
source§impl StrictTuple for BundleId
impl StrictTuple for BundleId
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for BundleId
impl StrictType for BundleId
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
source§impl Wrapper for BundleId
impl Wrapper for BundleId
source§fn from_inner(inner: <BundleId as Wrapper>::Inner) -> BundleId
fn from_inner(inner: <BundleId as Wrapper>::Inner) -> BundleId
Instantiates wrapper type with the inner data
source§fn as_inner(&self) -> &<BundleId as Wrapper>::Inner
fn as_inner(&self) -> &<BundleId as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
source§fn into_inner(self) -> <BundleId as Wrapper>::Inner
fn into_inner(self) -> <BundleId as Wrapper>::Inner
Unwraps the wrapper returning the inner type
impl Copy for BundleId
impl Eq for BundleId
impl StrictProduct for BundleId
impl StructuralEq for BundleId
impl StructuralPartialEq for BundleId
Auto Trait Implementations§
impl RefUnwindSafe for BundleId
impl Send for BundleId
impl Sync for BundleId
impl Unpin for BundleId
impl UnwindSafe for BundleId
Blanket Implementations§
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.