pub struct RandomDrawRecord {
pub id: RandomDrawId,
pub at: SimTime,
pub stream: RandomStreamKey,
pub address: RandomDrawAddress,
pub operation_evidence: Option<EvidenceRef>,
pub upper_exclusive: u64,
pub value: u64,
pub purpose: String,
pub producer: RandomDrawProducer,
pub outcome: Option<RandomDrawOutcome>,
pub cause: CauseRef,
pub correlation_id: u64,
}Fields§
§id: RandomDrawId§at: SimTime§stream: RandomStreamKey§address: RandomDrawAddress§operation_evidence: Option<EvidenceRef>§upper_exclusive: u64§value: u64§purpose: String§producer: RandomDrawProducer§outcome: Option<RandomDrawOutcome>§cause: CauseRef§correlation_id: u64Trait Implementations§
Source§impl Clone for RandomDrawRecord
impl Clone for RandomDrawRecord
Source§fn clone(&self) -> RandomDrawRecord
fn clone(&self) -> RandomDrawRecord
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 RandomDrawRecord
impl Debug for RandomDrawRecord
Source§impl<'de> Deserialize<'de> for RandomDrawRecord
impl<'de> Deserialize<'de> for RandomDrawRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomDrawRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomDrawRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RandomDrawRecord
Source§impl PartialEq for RandomDrawRecord
impl PartialEq for RandomDrawRecord
Source§impl Serialize for RandomDrawRecord
impl Serialize for RandomDrawRecord
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 RandomDrawRecord
Auto Trait Implementations§
impl Freeze for RandomDrawRecord
impl RefUnwindSafe for RandomDrawRecord
impl Send for RandomDrawRecord
impl Sync for RandomDrawRecord
impl Unpin for RandomDrawRecord
impl UnsafeUnpin for RandomDrawRecord
impl UnwindSafe for RandomDrawRecord
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