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
Source§fn clone(&self) -> TableSampleBuilder
fn clone(&self) -> TableSampleBuilder
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 TableSampleBuilder
impl RefUnwindSafe for TableSampleBuilder
impl Send for TableSampleBuilder
impl Sync for TableSampleBuilder
impl Unpin 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