Enum form_checker::FieldValue [] [src]

pub enum FieldValue {
    Str(String),
    I64(i64),
}

An enum to represent the primitive value extracted, resulting from applying a checker.

Variants

A str value.

An integer value as i64.

Methods

impl FieldValue
[src]

Extract a str primitive from the FieldValue.

Extract an i64 primitive from the FieldValue

Trait Implementations

impl Clone for FieldValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for FieldValue
[src]

Formats the value using the given formatter. Read more