pub struct SplitConfig {
pub mode: SplitMode,
pub suffix_type: SuffixType,
pub suffix_length: usize,
pub additional_suffix: String,
pub prefix: String,
pub elide_empty: bool,
pub verbose: bool,
pub filter: Option<String>,
pub separator: u8,
}Expand description
Configuration for the split command.
Fields§
§mode: SplitMode§suffix_type: SuffixType§suffix_length: usize§additional_suffix: String§prefix: String§elide_empty: bool§verbose: bool§filter: Option<String>§separator: u8Trait Implementations§
Source§impl Clone for SplitConfig
impl Clone for SplitConfig
Source§fn clone(&self) -> SplitConfig
fn clone(&self) -> SplitConfig
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 moreSource§impl Debug for SplitConfig
impl Debug for SplitConfig
Auto Trait Implementations§
impl Freeze for SplitConfig
impl RefUnwindSafe for SplitConfig
impl Send for SplitConfig
impl Sync for SplitConfig
impl Unpin for SplitConfig
impl UnsafeUnpin for SplitConfig
impl UnwindSafe for SplitConfig
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> 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