pub enum RandomOperationTarget {
Entity(EntityRef),
DecisionTicket {
ticket_id: DecisionTicketId,
ticket_version: u64,
},
DomainRecord {
record: DomainRecordRef,
version: u64,
},
KnowledgeHolder(KnowledgeHolderRef),
CanonicalKey(String),
}Expand description
Stable application target for an operation-addressed random draw.
Format-7 target for the enabled byte-exact keyed algorithm.
Variants§
Entity(EntityRef)
DecisionTicket
DomainRecord
KnowledgeHolder(KnowledgeHolderRef)
CanonicalKey(String)
Trait Implementations§
Source§impl Clone for RandomOperationTarget
impl Clone for RandomOperationTarget
Source§fn clone(&self) -> RandomOperationTarget
fn clone(&self) -> RandomOperationTarget
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 RandomOperationTarget
impl Debug for RandomOperationTarget
Source§impl<'de> Deserialize<'de> for RandomOperationTarget
impl<'de> Deserialize<'de> for RandomOperationTarget
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomOperationTarget, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomOperationTarget, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RandomOperationTarget
Source§impl Ord for RandomOperationTarget
impl Ord for RandomOperationTarget
Source§fn cmp(&self, other: &RandomOperationTarget) -> Ordering
fn cmp(&self, other: &RandomOperationTarget) -> 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 RandomOperationTarget
impl PartialEq for RandomOperationTarget
Source§impl PartialOrd for RandomOperationTarget
impl PartialOrd for RandomOperationTarget
Source§impl Serialize for RandomOperationTarget
impl Serialize for RandomOperationTarget
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 RandomOperationTarget
Auto Trait Implementations§
impl Freeze for RandomOperationTarget
impl RefUnwindSafe for RandomOperationTarget
impl Send for RandomOperationTarget
impl Sync for RandomOperationTarget
impl Unpin for RandomOperationTarget
impl UnsafeUnpin for RandomOperationTarget
impl UnwindSafe for RandomOperationTarget
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