type UnvalidatedLanguageVariantsPair = LanguageStrStrPairVarULE;
Aliased Type§
struct UnvalidatedLanguageVariantsPair(pub Language, MultiFieldsULE);
Fields§
§0: Language
§1: MultiFieldsULE
Implementations
Trait Implementations
Source§impl Debug for LanguageStrStrPairVarULE
impl Debug for LanguageStrStrPairVarULE
Source§impl Ord for LanguageStrStrPairVarULE
impl Ord for LanguageStrStrPairVarULE
Source§impl PartialEq for LanguageStrStrPairVarULE
impl PartialEq for LanguageStrStrPairVarULE
Source§impl PartialOrd for LanguageStrStrPairVarULE
impl PartialOrd for LanguageStrStrPairVarULE
Source§impl VarULE for LanguageStrStrPairVarULE
impl VarULE for LanguageStrStrPairVarULE
Source§fn validate_byte_slice(bytes: &[u8]) -> Result<(), ZeroVecError>
fn validate_byte_slice(bytes: &[u8]) -> Result<(), ZeroVecError>
Validates a byte slice,
&[u8]
. Read moreSource§unsafe fn from_byte_slice_unchecked(bytes: &[u8]) -> &Self
unsafe fn from_byte_slice_unchecked(bytes: &[u8]) -> &Self
Takes a byte slice,
&[u8]
, and return it as &Self
with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_byte_slice()
with
success. Read moreSource§fn parse_byte_slice(bytes: &[u8]) -> Result<&Self, ZeroVecError>
fn parse_byte_slice(bytes: &[u8]) -> Result<&Self, ZeroVecError>
Source§fn as_byte_slice(&self) -> &[u8] ⓘ
fn as_byte_slice(&self) -> &[u8] ⓘ
Source§impl<'a> ZeroMapKV<'a> for LanguageStrStrPairVarULE
impl<'a> ZeroMapKV<'a> for LanguageStrStrPairVarULE
Source§type Container = VarZeroVec<'a, LanguageStrStrPairVarULE>
type Container = VarZeroVec<'a, LanguageStrStrPairVarULE>
The container that can be used with this type:
ZeroVec
or VarZeroVec
.type Slice = VarZeroSlice<LanguageStrStrPairVarULE>
Source§type GetType = LanguageStrStrPairVarULE
type GetType = LanguageStrStrPairVarULE
The type produced by
Container::get()
Read moreSource§type OwnedType = Box<LanguageStrStrPairVarULE>
type OwnedType = Box<LanguageStrStrPairVarULE>
The type produced by
Container::replace()
and Container::remove()
,
also used during deserialization. If Self
is human readable serialized,
deserializing to Self::OwnedType
should produce the same value once
passed through Self::owned_as_self()
Read more