pub struct QueueStats {
pub message_count: usize,
pub total_size: usize,
pub max_messages: usize,
pub max_size: usize,
pub oldest_message_age: Option<Duration>,
pub newest_message_age: Option<Duration>,
}Fields§
§message_count: usize§total_size: usize§max_messages: usize§max_size: usize§oldest_message_age: Option<Duration>§newest_message_age: Option<Duration>Trait Implementations§
Source§impl Clone for QueueStats
impl Clone for QueueStats
Source§fn clone(&self) -> QueueStats
fn clone(&self) -> QueueStats
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 moreAuto Trait Implementations§
impl Freeze for QueueStats
impl RefUnwindSafe for QueueStats
impl Send for QueueStats
impl Sync for QueueStats
impl Unpin for QueueStats
impl UnwindSafe for QueueStats
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