Skip to main content

write_key

Function write_key 

Source
pub fn write_key<T: Model>(
    doc: &mut Doc,
    obj: &ObjId,
    key: &str,
    value: &T,
) -> Result<(), ModelError>
Expand description

Write value under key of the map obj.

ยงErrors

Returns ModelError located at key.