Struct strict_encoding::Ident
source · pub struct Ident(_);
Expand description
Identifier (field or type name).
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ident
impl<'de> Deserialize<'de> for Ident
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 Ident
impl Ord for Ident
source§impl PartialEq<Ident> for Ident
impl PartialEq<Ident> for Ident
source§impl PartialOrd<Ident> for Ident
impl PartialOrd<Ident> for Ident
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 Ident
impl StrictDecode for Ident
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDumb for Ident
impl StrictDumb for Ident
fn strict_dumb() -> Self
source§impl StrictEncode for Ident
impl StrictEncode for Ident
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictTuple for Ident
impl StrictTuple for Ident
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for Ident
impl StrictType for Ident
const STRICT_LIB_NAME: &'static str = STRICT_TYPES_LIB
fn strict_name() -> Option<TypeName>
source§impl TryFrom<AsciiString> for Ident
impl TryFrom<AsciiString> for Ident
§type Error = InvalidIdent
type Error = InvalidIdent
The type returned in the event of a conversion error.
source§fn try_from(ascii: AsciiString) -> Result<Self, InvalidIdent>
fn try_from(ascii: AsciiString) -> Result<Self, InvalidIdent>
Performs the conversion.
source§impl Wrapper for Ident
impl Wrapper for Ident
source§impl WrapperMut for Ident
impl WrapperMut for Ident
source§fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Returns a mutable reference to the inner representation for the wrapper
type
impl Eq for Ident
impl StrictProduct for Ident
impl StructuralEq for Ident
impl StructuralPartialEq for Ident
Auto Trait Implementations§
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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.