pub struct EntropySource {
pub url: Option<&'static str>,
pub description: Option<&'static str>,
}Expand description
Source of entropy for deterministic seed generation (e.g., file, image).
Fields§
§url: Option<&'static str>URL to the original entropy source
description: Option<&'static str>Human-readable description of the entropy source
Trait Implementations§
Source§impl Clone for EntropySource
impl Clone for EntropySource
Source§fn clone(&self) -> EntropySource
fn clone(&self) -> EntropySource
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 EntropySource
impl Debug for EntropySource
Source§impl Hash for EntropySource
impl Hash for EntropySource
Source§impl PartialEq for EntropySource
impl PartialEq for EntropySource
Source§impl Serialize for EntropySource
impl Serialize for EntropySource
impl Copy for EntropySource
impl Eq for EntropySource
impl StructuralPartialEq for EntropySource
Auto Trait Implementations§
impl Freeze for EntropySource
impl RefUnwindSafe for EntropySource
impl Send for EntropySource
impl Sync for EntropySource
impl Unpin for EntropySource
impl UnwindSafe for EntropySource
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