Enum mule::ColumnValue[][src]

pub enum ColumnValue<A> {
    Invalid,
    Missing,
    Some(A),
}

A single value in a dataset’s column

Variants

Invalid
Missing
Some(A)

Implementations

impl<T> ColumnValue<T>[src]

pub fn or_else(self, op: impl FnOnce() -> ColumnValue<T>) -> ColumnValue<T>[src]

pub fn unwrap_or_else(self, op: impl FnOnce() -> T) -> T[src]

pub fn map<U>(self, op: impl FnOnce(T) -> U) -> ColumnValue<U>[src]

pub fn is_some(&self) -> bool[src]

Trait Implementations

impl<A: Clone> Clone for ColumnValue<A>[src]

impl<A: Copy> Copy for ColumnValue<A>[src]

impl<A: Debug> Debug for ColumnValue<A>[src]

impl<A: Eq> Eq for ColumnValue<A>[src]

impl<A: Hash> Hash for ColumnValue<A>[src]

impl<A: PartialEq> PartialEq<ColumnValue<A>> for ColumnValue<A>[src]

impl<A> StructuralEq for ColumnValue<A>[src]

impl<A> StructuralPartialEq for ColumnValue<A>[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for ColumnValue<A> where
    A: RefUnwindSafe

impl<A> Send for ColumnValue<A> where
    A: Send

impl<A> Sync for ColumnValue<A> where
    A: Sync

impl<A> Unpin for ColumnValue<A> where
    A: Unpin

impl<A> UnwindSafe for ColumnValue<A> where
    A: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.