pub enum EntityDefinition {
EntityValue(SmallDetachedStrSpan),
ExternalId(ExternalId),
}Expand description
Representation of the EntityDef value.
Variants§
EntityValue(SmallDetachedStrSpan)
ExternalId(ExternalId)
Trait Implementations§
Source§impl Clone for EntityDefinition
impl Clone for EntityDefinition
Source§fn clone(&self) -> EntityDefinition
fn clone(&self) -> EntityDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntityDefinition
Source§impl Debug for EntityDefinition
impl Debug for EntityDefinition
impl Eq for EntityDefinition
Source§impl Hash for EntityDefinition
impl Hash for EntityDefinition
Source§impl PartialEq for EntityDefinition
impl PartialEq for EntityDefinition
Source§fn eq(&self, other: &EntityDefinition) -> bool
fn eq(&self, other: &EntityDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityDefinition
Auto Trait Implementations§
impl Freeze for EntityDefinition
impl RefUnwindSafe for EntityDefinition
impl Send for EntityDefinition
impl Sync for EntityDefinition
impl Unpin for EntityDefinition
impl UnsafeUnpin for EntityDefinition
impl UnwindSafe for EntityDefinition
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