Skip to main content

reference_example_from_value

Function reference_example_from_value 

Source
pub fn reference_example_from_value(value: &Value) -> Option<String>
Expand description

Converts one reference value into a compact example document.

§Parameters

§Returns

Returns Some when crate::reference::reference_example_from_value can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_docs::reference::reference_example_from_value("value");