pub struct EntityId {
pub group: GroupId,
pub category: String,
pub name: String,
}Expand description
Entity address within a manual: group + category + name.
Used in parser-side Entity views and the
ResolvedManual reverse index. Not a standalone wire
message; wire addresses use EntityRef with module scope.
Fields§
§group: GroupIdGroup containing the entity (GroupId within one contract).
category: StringFamily-specific category slug (e.g. "schemas", "operations").
name: StringEntity name within the group and category.
Implementations§
Trait Implementations§
impl Eq for EntityId
Source§impl Ord for EntityId
impl Ord for EntityId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EntityId
impl PartialOrd for EntityId
impl StructuralPartialEq for EntityId
Auto Trait Implementations§
impl Freeze for EntityId
impl RefUnwindSafe for EntityId
impl Send for EntityId
impl Sync for EntityId
impl Unpin for EntityId
impl UnsafeUnpin for EntityId
impl UnwindSafe for EntityId
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