[−][src]Trait dynomite::FromAttributes
A type capable of being produced from
a set of string keys and AttributeValues
Required methods
fn from_attrs(attrs: Attributes) -> Result<Self, AttributeError>
Returns an instance of of a type resolved at runtime from a collection
of a String
keys and AttributeValues
. If
a instance can not be resolved and AttributeError
will be returned.
Implementations on Foreign Types
impl<A: Attribute> FromAttributes for HashMap<String, A>
[src]
Coerces a homogenious HashMap of attribute values into a homogeneous Map of types that implement Attribute
fn from_attrs(attrs: Attributes) -> Result<Self, AttributeError>
[src]
impl<A: Attribute> FromAttributes for BTreeMap<String, A>
[src]
Coerces a homogenious Map of attribute values into a homogeneous BTreeMap of types that implement Attribute