Skip to main content

source_of

Function source_of 

Source
pub fn source_of(predicate: &Value) -> Result<&str, String>
Expand description

The source text a bot.did.policy#cedar document’s predicate carries.

§Errors

The predicate is not {"source": <text>}.