Enum ktmpl::ParameterValue[][src]

pub enum ParameterValue {
    Plain(String),
    Encoded(String),
}
Expand description

The user-supplied value of a template parameter, either plain text or Base64-encoded.

Variants

Plain

A plain text parameter value.

Tuple Fields of Plain

0: String
Encoded

A Base64-encoded parameter value.

Tuple Fields of Encoded

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.