[][src]Trait attribution::FromParameters

pub trait FromParameters: Sized {
    fn from_parameters(
        params: &mut Parameters,
        param_name: &str
    ) -> Result<Self, FromParametersError>; }

A trait that is used to extract data from a Parameters struct.

Required methods

fn from_parameters(
    params: &mut Parameters,
    param_name: &str
) -> Result<Self, FromParametersError>

Try to create a type from a parameter struct (params) for a paramter of a specific name (param_name).

Loading content...

Implementations on Foreign Types

impl<T: FromParameters> FromParameters for Option<T>[src]

Loading content...

Implementors

impl FromParameters for DynamicParameters[src]

impl<T: FromParameterValue> FromParameters for T[src]

Loading content...