pub struct ObjectId<K> { /* private fields */ }Expand description
Identifies a single object in an object-centric log (OCEL).
Zero-cost #[repr(transparent)] wrapper carrying a PhantomData<K>
kind marker. Structure-only: it names an entity, it does not resolve
or validate the link. Graduate to wasm4pm to dereference it.
Implementations§
Source§impl<K> ObjectId<K>
impl<K> ObjectId<K>
Trait Implementations§
impl<K> Copy for ObjectId<K>
Source§impl<K> Display for ObjectId<K>
Displays the raw numeric value prefixed by the type name, e.g. EventId(7).
impl<K> Display for ObjectId<K>
Displays the raw numeric value prefixed by the type name, e.g. EventId(7).
impl<K> Eq for ObjectId<K>
Source§impl<K> FromStr for ObjectId<K>
impl<K> FromStr for ObjectId<K>
Source§impl<K> NewFromRaw for ObjectId<K>
impl<K> NewFromRaw for ObjectId<K>
Source§type Raw = u64
type Raw = u64
The underlying raw primitive (same as
TypedId::Raw).Source§fn new_from_raw(raw: u64) -> Self
fn new_from_raw(raw: u64) -> Self
Constructs
Self from a raw primitive. Identical to the concrete new fn.Source§impl<K> Ord for ObjectId<K>
impl<K> Ord for ObjectId<K>
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<K> PartialOrd for ObjectId<K>
impl<K> PartialOrd for ObjectId<K>
Auto Trait Implementations§
impl<K> Freeze for ObjectId<K>
impl<K> RefUnwindSafe for ObjectId<K>where
K: RefUnwindSafe,
impl<K> Send for ObjectId<K>where
K: Send,
impl<K> Sync for ObjectId<K>where
K: Sync,
impl<K> Unpin for ObjectId<K>where
K: Unpin,
impl<K> UnsafeUnpin for ObjectId<K>
impl<K> UnwindSafe for ObjectId<K>where
K: UnwindSafe,
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