Trait validated_struct::ValidatedMap[][src]

pub trait ValidatedMap {
    fn insert<'d, D: Deserializer<'d>>(
        &mut self,
        key: &str,
        value: D
    ) -> Result<(), InsertionError>
    where
        InsertionError: From<D::Error>
;
fn get<'a>(&'a self, key: &str) -> Result<&'a dyn Any, GetError>; fn insert_sync<'d, D: Deserializer<'d>>(
        &mut self,
        _key: &str,
        _value: D
    ) -> Result<(), InsertionError>
    where
        InsertionError: From<D::Error>
, { ... } }

Required methods

Provided methods

Implementors