[−][src]Enum csvsc::ColSpec
Types of specifications available to create a new column.
Variants
Creates a new column based on a previous column using a regular expression to extract information from it.
Create a new column by mixing existing columns using a template
E.g. assuming that the month
and day
columns exist:
use csvsc::ColSpec; let spec = ColSpec::Mix { colname: "new_col".to_string(), coldef: "{day}/{month}".to_string(), };
Implementations
impl ColSpec
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ColSpec
impl Send for ColSpec
impl Sync for ColSpec
impl Unpin for ColSpec
impl UnwindSafe for ColSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,