Enum rgbstd::containers::ContentId
source · pub enum ContentId {
Schema(SchemaId),
Genesis(ContractId),
Iface(IfaceId),
IfaceImpl(ImplId),
Suppl(SupplId),
}Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ContentId
impl<'de> Deserialize<'de> for ContentId
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 Ord for ContentId
impl Ord for ContentId
source§impl PartialEq<ContentId> for ContentId
impl PartialEq<ContentId> for ContentId
source§impl PartialOrd<ContentId> for ContentId
impl PartialOrd<ContentId> for ContentId
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 ContentId
impl StrictDecode for ContentId
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDumb for ContentId
impl StrictDumb for ContentId
fn strict_dumb() -> Self
source§impl StrictEncode for ContentId
impl StrictEncode for ContentId
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictSum for ContentId
impl StrictSum for ContentId
const ALL_VARIANTS: &'static [(u8, &'static str)] = _
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<FieldName>
fn variant_ord(&self) -> u8
source§impl StrictType for ContentId
impl StrictType for ContentId
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
source§impl StrictUnion for ContentId
impl StrictUnion for ContentId
fn strict_type_info() -> TypeInfo<Self>
impl Eq for ContentId
impl StructuralEq for ContentId
impl StructuralPartialEq for ContentId
Auto Trait Implementations§
impl RefUnwindSafe for ContentId
impl Send for ContentId
impl Sync for ContentId
impl Unpin for ContentId
impl UnwindSafe for ContentId
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.