cw_authenticator/
macros.rs

1/// Allowing unknown fields in the deserialization of this struct for backwards compatibility
2#[macro_export]
3macro_rules! cw_serde_struct_allow_unknown_fields {
4    ($($s:item)*)  => {
5        $(
6            #[derive(
7                ::cosmwasm_schema::serde::Serialize,
8                ::cosmwasm_schema::serde::Deserialize,
9                ::std::clone::Clone,
10                ::std::fmt::Debug,
11                ::std::cmp::PartialEq,
12                ::cosmwasm_schema::schemars::JsonSchema,
13            )]
14            #[allow(clippy::derive_partial_eq_without_eq)]
15            #[serde(crate = "::cosmwasm_schema::serde")]
16            #[schemars(crate = "::cosmwasm_schema::schemars")]
17            $s
18        )*
19    };
20}