pub struct ConsumerLimits {
pub inactive_threshold: Duration,
pub max_ack_pending: i64,
}
Fields§
§inactive_threshold: Duration
Sets the maximum crate::jetstream::consumer::Config::inactive_threshold that can be set on the consumer.
max_ack_pending: i64
Sets the maximum crate::jetstream::consumer::Config::max_ack_pending that can be set on the consumer.
Trait Implementations§
Source§impl Clone for ConsumerLimits
impl Clone for ConsumerLimits
Source§fn clone(&self) -> ConsumerLimits
fn clone(&self) -> ConsumerLimits
Returns a copy 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 ConsumerLimits
impl Debug for ConsumerLimits
Source§impl Default for ConsumerLimits
impl Default for ConsumerLimits
Source§fn default() -> ConsumerLimits
fn default() -> ConsumerLimits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsumerLimits
impl<'de> Deserialize<'de> for ConsumerLimits
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 ConsumerLimits
impl PartialEq for ConsumerLimits
Source§impl Serialize for ConsumerLimits
impl Serialize for ConsumerLimits
impl Eq for ConsumerLimits
impl StructuralPartialEq for ConsumerLimits
Auto Trait Implementations§
impl Freeze for ConsumerLimits
impl RefUnwindSafe for ConsumerLimits
impl Send for ConsumerLimits
impl Sync for ConsumerLimits
impl Unpin for ConsumerLimits
impl UnwindSafe for ConsumerLimits
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