pub struct EntityKey {
pub id: EntityKeyId,
pub space: String,
pub entity: EntityId,
pub ty: EntityTypeRef,
pub normalized: String,
pub surface: String,
pub origin: KeyOrigin,
}Expand description
A (type, normalized name) handle. Aliases are additional keys on one entity.
Fields§
§id: EntityKeyId§space: String§entity: EntityId§ty: EntityTypeRef§normalized: String§surface: String§origin: KeyOriginTrait Implementations§
Source§impl<'de> Deserialize<'de> for EntityKey
impl<'de> Deserialize<'de> for EntityKey
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 EntityKey
impl RefUnwindSafe for EntityKey
impl Send for EntityKey
impl Sync for EntityKey
impl Unpin for EntityKey
impl UnsafeUnpin for EntityKey
impl UnwindSafe for EntityKey
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