pub struct AuditMeta {
pub seed: u64,
pub sample_size: usize,
}Expand description
AuditFile’s own metadata: the seed and requested sample size that
produced it, re-asserted whenever the sample is (re)drawn so a stale
--sample/--seed combination against an existing file is a loud
error, never a silent merge.
Fields§
§seed: u64The seed the stratified draw used.
sample_size: usizeThe total sample size requested at draw time.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditMeta
impl<'de> Deserialize<'de> for AuditMeta
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
Auto Trait Implementations§
impl Freeze for AuditMeta
impl RefUnwindSafe for AuditMeta
impl Send for AuditMeta
impl Sync for AuditMeta
impl Unpin for AuditMeta
impl UnsafeUnpin for AuditMeta
impl UnwindSafe for AuditMeta
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