Ignore unused field

This commit is contained in:
Daniel García 2021-12-28 00:48:33 +01:00
parent fd9693b961
commit 5125fdb882
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -495,6 +495,7 @@ struct ConnectData {
#[field(name = uncased("device_type"))] #[field(name = uncased("device_type"))]
#[field(name = uncased("devicetype"))] #[field(name = uncased("devicetype"))]
device_type: Option<String>, device_type: Option<String>,
#[allow(unused)]
#[field(name = uncased("device_push_token"))] #[field(name = uncased("device_push_token"))]
#[field(name = uncased("devicepushtoken"))] #[field(name = uncased("devicepushtoken"))]
_device_push_token: Option<String>, // Unused; mobile device push not yet supported. _device_push_token: Option<String>, // Unused; mobile device push not yet supported.