Function set_with_receiver

pub fn set_with_receiver(target: &JsValue, property_key: &JsValue, value: &JsValue, receiver: &JsValue) -> Result<bool, JsValue>

The static Reflect.set() method works like setting a property on an object.

MDN documentation