pub struct TargetKey {
pub kind_code: u8,
pub type_code: TypeCode,
pub id: EntityId,
pub target_shell_id: ShellId,
}Expand description
BTreeMap key for Active-Activity idempotency index (E-act-1 / C1).
Includes target_shell_id so cross-shell bypass via type-erased entity
id is impossible (E-act-2 dual-tier).
Fields§
§kind_code: u81=Entry, 2=Actor, 3=Space, 4=Activity, 5=Extension.
type_code: TypeCodeTypeCode(0) except for Extension targets.
id: EntityIdUnderlying entity handle.
target_shell_id: ShellIdShell of the target entity — closes brand-bypass gap (E-act-2 MC).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TargetKey
impl<'de> Deserialize<'de> for TargetKey
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
Source§impl Ord for TargetKey
impl Ord for TargetKey
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 TargetKey
impl PartialOrd for TargetKey
impl Copy for TargetKey
impl Eq for TargetKey
impl StructuralPartialEq for TargetKey
Auto Trait Implementations§
impl Freeze for TargetKey
impl RefUnwindSafe for TargetKey
impl Send for TargetKey
impl Sync for TargetKey
impl Unpin for TargetKey
impl UnsafeUnpin for TargetKey
impl UnwindSafe for TargetKey
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