Skip to content

Commit

Permalink
Expose ChurnRates and ObjectTotals fields
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Nov 25, 2024
1 parent ef55a27 commit 65d28a8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,13 +657,13 @@ impl fmt::Display for MessageProperties {
#[derive(Debug, Deserialize, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "tabled", derive(Tabled))]
pub struct ChurnRates {
connection_created: u32,
connection_closed: u32,
queue_declared: u32,
queue_created: u32,
queue_deleted: u32,
channel_created: u32,
channel_closed: u32,
pub connection_created: u32,
pub connection_closed: u32,
pub queue_declared: u32,
pub queue_created: u32,
pub queue_deleted: u32,
pub channel_created: u32,
pub channel_closed: u32,
}
impl fmt::Display for ChurnRates {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand All @@ -682,10 +682,10 @@ impl fmt::Display for ChurnRates {
#[derive(Debug, Deserialize, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "tabled", derive(Tabled))]
pub struct ObjectTotals {
connections: u64,
channels: u64,
queues: u64,
exchanges: u64,
pub connections: u64,
pub channels: u64,
pub queues: u64,
pub exchanges: u64,
}
impl fmt::Display for ObjectTotals {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down

0 comments on commit 65d28a8

Please sign in to comment.