pub fn to_text(
value: &Value,
spec: Option<&str>,
label: &str,
) -> Result<String, RenderError>Expand description
A stored value as text.
§Errors
Returns RenderError::NotRenderable for None, lists and objects, or
RenderError::BadFormat for a spec that doesn’t fit (strftime only on dates and times).