pub enum SchemaEntityKey {
Name(String),
Id(u32),
}
Expand description
Key of space or index.
Variants§
Trait Implementations§
Source§impl Clone for SchemaEntityKey
impl Clone for SchemaEntityKey
Source§fn clone(&self) -> SchemaEntityKey
fn clone(&self) -> SchemaEntityKey
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SchemaEntityKey
impl Debug for SchemaEntityKey
Source§impl Display for SchemaEntityKey
impl Display for SchemaEntityKey
Source§impl From<&str> for SchemaEntityKey
impl From<&str> for SchemaEntityKey
Source§impl From<SchemaEntityKey> for Value
impl From<SchemaEntityKey> for Value
Source§fn from(val: SchemaEntityKey) -> Self
fn from(val: SchemaEntityKey) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SchemaEntityKey
impl From<u32> for SchemaEntityKey
Source§impl PartialEq for SchemaEntityKey
impl PartialEq for SchemaEntityKey
impl Eq for SchemaEntityKey
impl StructuralPartialEq for SchemaEntityKey
Auto Trait Implementations§
impl Freeze for SchemaEntityKey
impl RefUnwindSafe for SchemaEntityKey
impl Send for SchemaEntityKey
impl Sync for SchemaEntityKey
impl Unpin for SchemaEntityKey
impl UnwindSafe for SchemaEntityKey
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