Trait relay_protocol::FromValue

source ·
pub trait FromValue: Debug {
    // Required method
    fn from_value(value: Annotated<Value>) -> Annotated<Self>
       where Self: Sized;
}
Expand description

Implemented for all meta structures.

Required Methods§

source

fn from_value(value: Annotated<Value>) -> Annotated<Self>
where Self: Sized,

Creates a meta structure from an annotated boxed value.

Implementations on Foreign Types§

source§

impl FromValue for bool

source§

impl FromValue for f64

source§

impl FromValue for i64

source§

impl FromValue for u64

source§

impl FromValue for String

source§

impl FromValue for Uuid

source§

impl<T1: FromValue> FromValue for (Annotated<T1>,)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue> FromValue for (Annotated<T1>, Annotated<T2>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue, T7: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue, T7: FromValue, T8: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue, T7: FromValue, T8: FromValue, T9: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue, T7: FromValue, T8: FromValue, T9: FromValue, T10: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>, Annotated<T10>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue, T7: FromValue, T8: FromValue, T9: FromValue, T10: FromValue, T11: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>, Annotated<T10>, Annotated<T11>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T1: FromValue, T2: FromValue, T3: FromValue, T4: FromValue, T5: FromValue, T6: FromValue, T7: FromValue, T8: FromValue, T9: FromValue, T10: FromValue, T11: FromValue, T12: FromValue> FromValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>, Annotated<T10>, Annotated<T11>, Annotated<T12>)

source§

fn from_value(annotated: Annotated<Value>) -> Annotated<Self>

source§

impl<T> FromValue for Box<T>
where T: FromValue,

source§

fn from_value(value: Annotated<Value>) -> Annotated<Self>
where Self: Sized,

Implementors§

source§

impl FromValue for Value

source§

impl<T> FromValue for Array<T>
where T: FromValue,

source§

impl<T> FromValue for Object<T>
where T: FromValue,