pub struct EpisodeId(/* private fields */);Expand description
Stable identifier for one episode. Backed by UUID v7 so two ids minted in order compare in the same order — the audit trail and external correlation paths stay consistent without a separate sequence column.
Implementations§
Source§impl EpisodeId
impl EpisodeId
Sourcepub const fn from_uuid(uuid: Uuid) -> Self
pub const fn from_uuid(uuid: Uuid) -> Self
Reconstruct an id from a uuid::Uuid — used by persistence
backends decoding stored rows.
Sourcepub fn to_hyphenated_string(&self) -> String
pub fn to_hyphenated_string(&self) -> String
Render as a hyphenated string. Mirrors
CheckpointId::to_hyphenated_string (entelix-graph) so id
surfaces line up across audit channels.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EpisodeId
impl<'de> Deserialize<'de> for EpisodeId
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
impl Eq for EpisodeId
impl StructuralPartialEq for EpisodeId
Auto Trait Implementations§
impl Freeze for EpisodeId
impl RefUnwindSafe for EpisodeId
impl Send for EpisodeId
impl Sync for EpisodeId
impl Unpin for EpisodeId
impl UnsafeUnpin for EpisodeId
impl UnwindSafe for EpisodeId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.