pub struct JetStreamLimits {
pub mem_storage: i64,
pub disk_storage: i64,
pub streams: i64,
pub consumer: i64,
pub max_ack_pending: i64,
pub mem_max_stream_bytes: i64,
pub disk_max_stream_bytes: i64,
pub max_bytes_required: bool,
}Expand description
JetStream resource limits for an account or a named tier (a -1 value
means unlimited).
Fields§
§mem_storage: i64Maximum in-memory storage in bytes.
disk_storage: i64Maximum on-disk storage in bytes.
streams: i64Maximum number of streams.
consumer: i64Maximum number of consumers.
max_ack_pending: i64Maximum unacknowledged messages per consumer.
mem_max_stream_bytes: i64Maximum bytes for a single memory stream.
disk_max_stream_bytes: i64Maximum bytes for a single disk stream.
max_bytes_required: boolWhether streams must declare a maximum byte size.
Trait Implementations§
Source§impl Clone for JetStreamLimits
impl Clone for JetStreamLimits
Source§fn clone(&self) -> JetStreamLimits
fn clone(&self) -> JetStreamLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for JetStreamLimits
impl Default for JetStreamLimits
Source§fn default() -> JetStreamLimits
fn default() -> JetStreamLimits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JetStreamLimits
impl RefUnwindSafe for JetStreamLimits
impl Send for JetStreamLimits
impl Sync for JetStreamLimits
impl Unpin for JetStreamLimits
impl UnsafeUnpin for JetStreamLimits
impl UnwindSafe for JetStreamLimits
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