pub fn encode_typed_schema_value( value: &TypedSchemaValue, ) -> Result<TypedSchemaValue, EncodeError>