Skip to main content

Module guard

Module guard 

Source
Expand description

Guards applied to a client-supplied body before it reaches the pipeline.

Functionsยง

flatten_top_level_dates
Rewrite top-level timestamp fields into their bare-string wire form.
reject_reserved_keys
Refuse a body that carries a server-internal column.
reject_reserved_keys_in
The same guard over any key sequence, for a body that has already been decoded into crate::WriteBody and no longer has a ParseMap to hand.
strip_internal_keys
Remove every _-prefixed key from a row before it becomes a response.
to_response_body
Everything a row needs before it becomes a response body.