Struct flood_tide_gen::OptStr[][src]

pub struct OptStr {
    pub num: i32,
    pub sho: String,
    pub lon: String,
    pub meta: String,
    pub comment: String,
    pub meta_type: MetaType,
    pub is_vec: bool,
    pub is_opt: bool,
    pub enum_s: String,
    pub field_s: String,
}

Command Option String after parsing

Fields

num: i32

number

sho: String

short option

lon: String

long option

meta: String

option’s meta

comment: String

option comment

meta_type: MetaType

meta’s type

is_vec: bool

vec type?: Vec

is_opt: bool

option type?: Option

enum_s: String

enume field string

field_s: String

struct field string

Implementations

impl OptStr[src]

pub fn lon_or_sho(&self) -> &str[src]

long or short name

Trait Implementations

impl Clone for OptStr[src]

impl Debug for OptStr[src]

impl Default for OptStr[src]

Auto Trait Implementations

impl RefUnwindSafe for OptStr

impl Send for OptStr

impl Sync for OptStr

impl Unpin for OptStr

impl UnwindSafe for OptStr

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.