pub struct RandomnessConfig {
pub enabled: bool,
pub reseed_interval_secs: u64,
pub source: RandomnessSource,
}Expand description
RandomnessConfig
Fields§
§enabled: bool§reseed_interval_secs: u64§source: RandomnessSourceTrait Implementations§
Source§impl Clone for RandomnessConfig
impl Clone for RandomnessConfig
Source§fn clone(&self) -> RandomnessConfig
fn clone(&self) -> RandomnessConfig
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 RandomnessConfig
impl Debug for RandomnessConfig
Source§impl Default for RandomnessConfig
impl Default for RandomnessConfig
Source§impl<'de> Deserialize<'de> for RandomnessConfigwhere
RandomnessConfig: Default,
impl<'de> Deserialize<'de> for RandomnessConfigwhere
RandomnessConfig: Default,
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 Serialize for RandomnessConfig
impl Serialize for RandomnessConfig
impl Copy for RandomnessConfig
Auto Trait Implementations§
impl Freeze for RandomnessConfig
impl RefUnwindSafe for RandomnessConfig
impl Send for RandomnessConfig
impl Sync for RandomnessConfig
impl Unpin for RandomnessConfig
impl UnwindSafe for RandomnessConfig
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