cloudflare-rs
cloudflare-rs copied to clipboard
responses: make messages and errors default if not present
Both fields are often not returned by certain cloudflare APIs (the Zero Trust API is a good example). Allowing serde to default them if not present allows these APIs to be used with this crate.
@adamchalmers @sssilver I'd like to get this in. Which approach do we want to go with here?