pub struct RandomSample {
pub stream: RandomStreamKey,
pub address: RandomDrawAddress,
pub upper_exclusive: u64,
pub value: u64,
}Fields§
§stream: RandomStreamKey§address: RandomDrawAddress§upper_exclusive: u64§value: u64Trait Implementations§
Source§impl Clone for RandomSample
impl Clone for RandomSample
Source§fn clone(&self) -> RandomSample
fn clone(&self) -> RandomSample
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 RandomSample
impl Debug for RandomSample
Source§impl<'de> Deserialize<'de> for RandomSample
impl<'de> Deserialize<'de> for RandomSample
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomSample, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomSample, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RandomSample
Source§impl PartialEq for RandomSample
impl PartialEq for RandomSample
Source§impl Serialize for RandomSample
impl Serialize for RandomSample
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 RandomSample
Auto Trait Implementations§
impl Freeze for RandomSample
impl RefUnwindSafe for RandomSample
impl Send for RandomSample
impl Sync for RandomSample
impl Unpin for RandomSample
impl UnsafeUnpin for RandomSample
impl UnwindSafe for RandomSample
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