pub fn payload(
raw: RawDoc,
payload: Vec<(PayloadId, String, Value)>,
) -> Result<RawDoc, PayloadError>Expand description
Change the payload of the document, using the set of triples:
PayloadId: the identifier for the documentPayloadString: the key within thePayloadthat is being updatedjson::Value: the value to update thePayload
ยงErrors
This fails if one of the PayloadIds does not point to a JSON object as
its value.