Skip to main content

attr_set

Function attr_set 

Source
pub fn attr_set(obj: &Value, name: &str, value: Value) -> DogeResult<()>
Expand description

Write obj.name = value. A field appears the first time it is assigned; setting a field on a non-object is a catchable TypeError.