Skip to main content

content_id

Function content_id 

Source
pub fn content_id(payload: &Value) -> String
Expand description

Compute the content id for a payload.

The input is the payload field of a .agentlog envelope — NOT the whole envelope. See SPEC §6.1 for why the envelope is excluded.