pub struct IndexName { /* private fields */ }Expand description
IndexName
Implementations§
Source§impl IndexName
impl IndexName
pub const STORED_SIZE_BYTES: u64
pub const STORED_SIZE_USIZE: usize
pub fn try_from_parts( entity: &EntityName, fields: &[&str], ) -> Result<Self, IndexNameError>
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn as_str(&self) -> &str
pub fn to_bytes(self) -> [u8; 326]
pub fn from_bytes(bytes: &[u8]) -> Result<Self, IdentityDecodeError>
pub const fn max_storable() -> Self
Trait Implementations§
Source§impl Ord for IndexName
impl Ord for IndexName
Source§impl PartialOrd for IndexName
impl PartialOrd for IndexName
impl Copy for IndexName
impl Eq for IndexName
impl StructuralPartialEq for IndexName
Auto Trait Implementations§
impl Freeze for IndexName
impl RefUnwindSafe for IndexName
impl Send for IndexName
impl Sync for IndexName
impl Unpin for IndexName
impl UnsafeUnpin for IndexName
impl UnwindSafe for IndexName
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