diff --git a/src/responses.rs b/src/responses.rs index f18c1a9..9aa3437 100644 --- a/src/responses.rs +++ b/src/responses.rs @@ -576,14 +576,14 @@ pub struct ClientProperties { pub struct ClientCapabilities { pub authentication_failure_close: bool, #[serde(rename(deserialize = "basic.nack"))] - pub basic_nack: bool, + pub basic_nack: Option, #[serde(rename(deserialize = "connection.blocked"))] - pub connection_blocked: bool, + pub connection_blocked: Option, #[serde(rename(deserialize = "consumer_cancel_notify"))] - pub consumer_cancel_notify: bool, + pub consumer_cancel_notify: Option, #[serde(rename(deserialize = "exchange_exchange_bindings"))] - pub exchange_to_exchange_bindings: bool, - pub publisher_confirms: bool, + pub exchange_to_exchange_bindings: Option, + pub publisher_confirms: Option, } #[derive(Debug, Deserialize, Clone)]