pub enum EntityDefinition<'a> {
EntityValue(StrSpan<'a>),
ExternalId(ExternalId<'a>),
}
Expand description
Representation of the EntityDef value.
Variants§
EntityValue(StrSpan<'a>)
ExternalId(ExternalId<'a>)
Trait Implementations§
Source§impl<'a> Clone for EntityDefinition<'a>
impl<'a> Clone for EntityDefinition<'a>
Source§fn clone(&self) -> EntityDefinition<'a>
fn clone(&self) -> EntityDefinition<'a>
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<'a> Debug for EntityDefinition<'a>
impl<'a> Debug for EntityDefinition<'a>
Source§impl<'a> Hash for EntityDefinition<'a>
impl<'a> Hash for EntityDefinition<'a>
Source§impl<'a> PartialEq for EntityDefinition<'a>
impl<'a> PartialEq for EntityDefinition<'a>
impl<'a> Copy for EntityDefinition<'a>
impl<'a> Eq for EntityDefinition<'a>
impl<'a> StructuralPartialEq for EntityDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntityDefinition<'a>
impl<'a> RefUnwindSafe for EntityDefinition<'a>
impl<'a> Send for EntityDefinition<'a>
impl<'a> Sync for EntityDefinition<'a>
impl<'a> Unpin for EntityDefinition<'a>
impl<'a> UnwindSafe for EntityDefinition<'a>
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