Skip to main content

value

Function value 

Source
pub fn value(literal: impl Serialize) -> Source
Expand description

A literal in a mapping, where a string would be a reference: Send::aggregate("case.order_id").data([("reason", value("unpaid"))]).

ยงPanics

If literal cannot be represented as JSON.