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