pub enum IdType {
U24,
U32,
U40,
U48,
U56,
U64,
Str {
n_chars: usize,
},
Custom,
}
Variants§
Implementations§
Source§impl IdType
impl IdType
pub fn is_recno_compatible(&self) -> bool
pub fn byte_size(&self) -> usize
pub fn in_mem_type(&self) -> IdInMemType
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IdType
impl<'de> Deserialize<'de> for IdType
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
Auto Trait Implementations§
impl Freeze for IdType
impl RefUnwindSafe for IdType
impl Send for IdType
impl Sync for IdType
impl Unpin for IdType
impl UnwindSafe for IdType
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