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