pub struct TableSampleBuilder { /* private fields */ }Expand description
Builder for table sampling.
Implementations§
Source§impl TableSampleBuilder
impl TableSampleBuilder
Sourcepub fn new(method: SampleMethod, size: SampleSize) -> Self
pub fn new(method: SampleMethod, size: SampleSize) -> Self
Create a new builder.
Sourcepub fn build(self) -> TableSample
pub fn build(self) -> TableSample
Build the sample configuration.
Trait Implementations§
Source§impl Clone for TableSampleBuilder
impl Clone for TableSampleBuilder
Auto Trait Implementations§
impl Forget for TableSampleBuilder
impl Freeze for TableSampleBuilder
impl Move for TableSampleBuilder
impl RefUnwindSafe for TableSampleBuilder
impl Send for TableSampleBuilder
impl Sync for TableSampleBuilder
impl Unpin for TableSampleBuilder
impl UnsafeUnpin for TableSampleBuilder
impl UnwindSafe for TableSampleBuilder
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