pub enum DecisionHistoryKey {
Ticket(DecisionTicketId),
Attempt(DecisionRequestId),
Trace(DecisionTraceId),
}Expand description
Typed identity for decision history. A scalar ID is not enough because tickets, caller-selected requests, and engine-issued traces have different uniqueness and retention rules.
Variants§
Trait Implementations§
Source§impl Clone for DecisionHistoryKey
impl Clone for DecisionHistoryKey
Source§fn clone(&self) -> DecisionHistoryKey
fn clone(&self) -> DecisionHistoryKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecisionHistoryKey
impl Debug for DecisionHistoryKey
Source§impl<'de> Deserialize<'de> for DecisionHistoryKey
impl<'de> Deserialize<'de> for DecisionHistoryKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecisionHistoryKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecisionHistoryKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecisionHistoryKey
Source§impl Ord for DecisionHistoryKey
impl Ord for DecisionHistoryKey
Source§fn cmp(&self, other: &DecisionHistoryKey) -> Ordering
fn cmp(&self, other: &DecisionHistoryKey) -> Ordering
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DecisionHistoryKey
impl PartialEq for DecisionHistoryKey
Source§impl PartialOrd for DecisionHistoryKey
impl PartialOrd for DecisionHistoryKey
Source§impl Serialize for DecisionHistoryKey
impl Serialize for DecisionHistoryKey
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DecisionHistoryKey
Auto Trait Implementations§
impl Freeze for DecisionHistoryKey
impl RefUnwindSafe for DecisionHistoryKey
impl Send for DecisionHistoryKey
impl Sync for DecisionHistoryKey
impl Unpin for DecisionHistoryKey
impl UnsafeUnpin for DecisionHistoryKey
impl UnwindSafe for DecisionHistoryKey
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