Function expry::expry_object_with_single_field
source · pub fn expry_object_with_single_field(
key: &[u8],
value: EncodedValueRef<'_>
) -> Result<EncodedValueVec, EncodingError>
Expand description
Creates an object with a single key-value pair inside. Expects value
to be binary encoded.