pub struct SourceInfoSnapshot {
pub name: String,
pub description: String,
pub physics: String,
pub category: String,
pub entropy_rate_estimate: f64,
pub composite: bool,
}Expand description
Snapshot of source metadata for external consumption.
Fields§
§name: StringSource name.
description: StringHuman-readable description.
physics: StringPhysics explanation.
category: StringSource category.
entropy_rate_estimate: f64Estimated entropy rate.
composite: boolWhether this is a composite source.
Trait Implementations§
Source§impl Clone for SourceInfoSnapshot
impl Clone for SourceInfoSnapshot
Source§fn clone(&self) -> SourceInfoSnapshot
fn clone(&self) -> SourceInfoSnapshot
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 moreAuto Trait Implementations§
impl Freeze for SourceInfoSnapshot
impl RefUnwindSafe for SourceInfoSnapshot
impl Send for SourceInfoSnapshot
impl Sync for SourceInfoSnapshot
impl Unpin for SourceInfoSnapshot
impl UnwindSafe for SourceInfoSnapshot
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