pub struct ConsumerStats {Show 21 fields
pub address: Option<String>,
pub available_permits: Option<i32>,
pub avg_messages_per_entry: Option<i32>,
pub blocked_consumer_on_unacked_msgs: Option<bool>,
pub bytes_out_counter: Option<i64>,
pub chunked_message_rate: Option<f64>,
pub client_version: Option<String>,
pub connected_since: Option<String>,
pub consumer_name: Option<String>,
pub key_hash_ranges: Option<Vec<String>>,
pub last_acked_timestamp: Option<i64>,
pub last_consumed_flow_timestamp: Option<i64>,
pub last_consumed_timestamp: Option<i64>,
pub message_ack_rate: Option<f64>,
pub metadata: Option<HashMap<String, String>>,
pub msg_out_counter: Option<i64>,
pub msg_rate_out: Option<f64>,
pub msg_rate_redeliver: Option<f64>,
pub msg_throughput_out: Option<f64>,
pub read_position_when_joining: Option<String>,
pub unacked_messages: Option<i32>,
}Fields§
§address: Option<String>§available_permits: Option<i32>§avg_messages_per_entry: Option<i32>§blocked_consumer_on_unacked_msgs: Option<bool>§bytes_out_counter: Option<i64>§chunked_message_rate: Option<f64>§client_version: Option<String>§connected_since: Option<String>§consumer_name: Option<String>§key_hash_ranges: Option<Vec<String>>§last_acked_timestamp: Option<i64>§last_consumed_flow_timestamp: Option<i64>§last_consumed_timestamp: Option<i64>§message_ack_rate: Option<f64>§metadata: Option<HashMap<String, String>>§msg_out_counter: Option<i64>§msg_rate_out: Option<f64>§msg_rate_redeliver: Option<f64>§msg_throughput_out: Option<f64>§read_position_when_joining: Option<String>§unacked_messages: Option<i32>Implementations§
Source§impl ConsumerStats
impl ConsumerStats
pub fn new() -> ConsumerStats
Trait Implementations§
Source§impl Clone for ConsumerStats
impl Clone for ConsumerStats
Source§fn clone(&self) -> ConsumerStats
fn clone(&self) -> ConsumerStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConsumerStats
impl Debug for ConsumerStats
Source§impl Default for ConsumerStats
impl Default for ConsumerStats
Source§fn default() -> ConsumerStats
fn default() -> ConsumerStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsumerStats
impl<'de> Deserialize<'de> for ConsumerStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConsumerStats
impl PartialEq for ConsumerStats
Source§impl Serialize for ConsumerStats
impl Serialize for ConsumerStats
impl StructuralPartialEq for ConsumerStats
Auto Trait Implementations§
impl Freeze for ConsumerStats
impl RefUnwindSafe for ConsumerStats
impl Send for ConsumerStats
impl Sync for ConsumerStats
impl Unpin for ConsumerStats
impl UnwindSafe for ConsumerStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more