pub struct ConvertionOptions {
pub threads: NonZeroUsize,
pub include: IncludeType,
pub unique: bool,
pub compression: Compression,
pub min_size: Option<Byte>,
pub max_size: Option<Byte>,
pub batch_count: usize,
pub batch_size: Byte,
pub extract_strings: bool,
}
Fields§
§threads: NonZeroUsize
§include: IncludeType
§unique: bool
§compression: Compression
§min_size: Option<Byte>
§max_size: Option<Byte>
§batch_count: usize
§batch_size: Byte
§extract_strings: bool
Implementations§
Source§impl ConvertionOptions
impl ConvertionOptions
Sourcepub fn new(
threads: NonZeroUsize,
include: IncludeType,
unique: bool,
compression: Compression,
min_size: Option<Byte>,
max_size: Option<Byte>,
batch_count: usize,
batch_size: Byte,
extract_strings: bool,
) -> Self
pub fn new( threads: NonZeroUsize, include: IncludeType, unique: bool, compression: Compression, min_size: Option<Byte>, max_size: Option<Byte>, batch_count: usize, batch_size: Byte, extract_strings: bool, ) -> Self
Constructs a new ConvertionOptions
.
Source§impl ConvertionOptions
impl ConvertionOptions
pub const fn const_default() -> Self
pub fn get_size_range(&self) -> Option<Range<Byte>>
Trait Implementations§
Source§impl Clone for ConvertionOptions
impl Clone for ConvertionOptions
Source§fn clone(&self) -> ConvertionOptions
fn clone(&self) -> ConvertionOptions
Returns a copy 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 ConvertionOptions
impl Debug for ConvertionOptions
Auto Trait Implementations§
impl Freeze for ConvertionOptions
impl RefUnwindSafe for ConvertionOptions
impl Send for ConvertionOptions
impl Sync for ConvertionOptions
impl Unpin for ConvertionOptions
impl UnwindSafe for ConvertionOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more