diff options
Diffstat (limited to 'components/msg/constellation_msg.rs')
-rw-r--r-- | components/msg/constellation_msg.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/msg/constellation_msg.rs b/components/msg/constellation_msg.rs index 530bceaeb39..51e2a7635d1 100644 --- a/components/msg/constellation_msg.rs +++ b/components/msg/constellation_msg.rs @@ -191,7 +191,11 @@ pub struct Image { #[derive(Clone, Deserialize, Serialize)] pub struct LoadData { pub url: Url, + #[serde(deserialize_with = "::hyper_serde::deserialize", + serialize_with = "::hyper_serde::serialize")] pub method: Method, + #[serde(deserialize_with = "::hyper_serde::deserialize", + serialize_with = "::hyper_serde::serialize")] pub headers: Headers, pub data: Option<Vec<u8>>, pub referrer_policy: Option<ReferrerPolicy>, |