pub struct EntityRef {
pub target_path: &'static str,
pub key: Key,
}Expand description
EntityRef
Concrete reference extracted from an entity instance.
Carries the target entity path and the referenced key value.
Produced by EntityReferences during pre-commit planning.
Fields§
§target_path: &'static str§key: KeyTrait Implementations§
impl Copy for EntityRef
impl Eq for EntityRef
impl StructuralPartialEq for EntityRef
Auto Trait Implementations§
impl Freeze for EntityRef
impl RefUnwindSafe for EntityRef
impl Send for EntityRef
impl Sync for EntityRef
impl Unpin for EntityRef
impl UnwindSafe for EntityRef
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