[][src]Enum superconf::SuperValue

pub enum SuperValue {
    Single(String),
    List(Vec<String>),
}

The possible value of the config file.

Ususally a SuperValue::Single if 1 is provided or SuperValue::List if 2 or more are.

Variants

Single(String)

A single element provided, e.g. my_key element

List(Vec<String>)

Multiple elements provided, e.g. my_key first_element second_element

Trait Implementations

impl Clone for SuperValue[src]

impl Debug for SuperValue[src]

impl PartialEq<SuperValue> for SuperValue[src]

impl PartialOrd<SuperValue> for SuperValue[src]

impl StructuralPartialEq for SuperValue[src]

Auto Trait Implementations

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.