Fix cargo check w.r.t. FieldMask

The serde traits are now directly implemented for FieldMask - this helps address potential serde issues with wrapper types, and simplifies the serde process somewhat.
This commit is contained in:
philippeitis
2022-10-08 19:46:57 -07:00
parent ddac761e06
commit 8cc2707563
4 changed files with 137 additions and 122 deletions

View File

@@ -21,8 +21,6 @@ ${struct} {
#[serde(default, with = "client::serde::urlsafe_base64")]
% elif p.get("format") == "google-duration":
#[serde(default, with = "client::serde::duration")]
% elif p.get("format") == "google-fieldmask":
#[serde(default, with = "client::serde::field_mask")]
% elif p.get("format") in {"uint64", "int64"}:
#[serde(default, with = "client::serde::str_like")]
% endif