Function set_doc

Source
pub async fn set_doc(
    doc: DocumentReference,
    data: JsValue,
) -> Result<(), JsValue>