Struct nats::jetstream::AccountLimits [−][src]
pub struct AccountLimits { pub max_memory: i64, pub max_storage: i64, pub max_streams: i64, pub max_consumers: i64, }
Various limits imposed on a particular account.
Fields
max_memory: i64
Maximum memory for this account (-1 if no limit)
max_storage: i64
Maximum storage for this account (-1 if no limit)
max_streams: i64
Maximum streams for this account (-1 if no limit)
max_consumers: i64
Maximum consumers for this account (-1 if no limit)
Trait Implementations
impl Clone for AccountLimits
[src]
impl Clone for AccountLimits
[src]fn clone(&self) -> AccountLimits
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AccountLimits
[src]
impl Copy for AccountLimits
[src]impl Default for AccountLimits
[src]
impl Default for AccountLimits
[src]fn default() -> AccountLimits
[src]
impl<'de> Deserialize<'de> for AccountLimits
[src]
impl<'de> Deserialize<'de> for AccountLimits
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for AccountLimits
[src]
impl Serialize for AccountLimits
[src]Auto Trait Implementations
impl RefUnwindSafe for AccountLimits
impl RefUnwindSafe for AccountLimits
impl Send for AccountLimits
impl Send for AccountLimits
impl Sync for AccountLimits
impl Sync for AccountLimits
impl Unpin for AccountLimits
impl Unpin for AccountLimits
impl UnwindSafe for AccountLimits
impl UnwindSafe for AccountLimits
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,