pub struct SampleRand(/* private fields */);
Expand description
A random number generated at the start of a trace by the head of trace SDK.
Trait Implementations§
Source§impl Clone for SampleRand
impl Clone for SampleRand
Source§fn clone(&self) -> SampleRand
fn clone(&self) -> SampleRand
Returns a duplicate of the value. Read more
1.0.0 · 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 SampleRand
impl Debug for SampleRand
Source§impl<'de> Deserialize<'de> for SampleRand
impl<'de> Deserialize<'de> for SampleRand
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
Source§impl Display for SampleRand
impl Display for SampleRand
Source§impl FromStr for SampleRand
impl FromStr for SampleRand
Source§impl PartialEq for SampleRand
impl PartialEq for SampleRand
Source§impl Serialize for SampleRand
impl Serialize for SampleRand
Source§impl TryFrom<f64> for SampleRand
impl TryFrom<f64> for SampleRand
impl Copy for SampleRand
impl StructuralPartialEq for SampleRand
Auto Trait Implementations§
impl Freeze for SampleRand
impl RefUnwindSafe for SampleRand
impl Send for SampleRand
impl Sync for SampleRand
impl Unpin for SampleRand
impl UnwindSafe for SampleRand
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