[][src]Enum bracket::parser::ast::ParameterValue

pub enum ParameterValue<'source> {
    Path(Path<'source>),
    Json(Value),
    SubExpr(Call<'source>),
}

Parameter values can be used as arguments or hash values.

Variants

Path(Path<'source>)

A parameter that should resolve to a runtime variable.

Json(Value)

A literal JSON value.

SubExpr(Call<'source>)

A sub-expression to be invoked at runtime to determine the value.

Trait Implementations

impl<'source> Debug for ParameterValue<'source>[src]

impl<'source> Eq for ParameterValue<'source>[src]

impl<'source> PartialEq<ParameterValue<'source>> for ParameterValue<'source>[src]

impl<'source> StructuralEq for ParameterValue<'source>[src]

impl<'source> StructuralPartialEq for ParameterValue<'source>[src]

Auto Trait Implementations

impl<'source> RefUnwindSafe for ParameterValue<'source>

impl<'source> Send for ParameterValue<'source>

impl<'source> Sync for ParameterValue<'source>

impl<'source> Unpin for ParameterValue<'source>

impl<'source> UnwindSafe for ParameterValue<'source>

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, 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.