Struct nats::jetstream::AccountInfo
source · pub struct AccountInfo {
pub memory: i64,
pub storage: i64,
pub streams: i64,
pub consumers: i64,
pub api: ApiStats,
pub limits: AccountLimits,
/* private fields */
}
Expand description
contains info about the JetStream
usage from the current account.
Fields§
§memory: i64
How much memory is used
storage: i64
How much storage is used
streams: i64
How many streams exist
consumers: i64
How many consumers exist
api: ApiStats
Aggregated API statistics
limits: AccountLimits
Limits placed on the account
Trait Implementations§
source§impl Clone for AccountInfo
impl Clone for AccountInfo
source§fn clone(&self) -> AccountInfo
fn clone(&self) -> AccountInfo
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 AccountInfo
impl Debug for AccountInfo
source§impl Default for AccountInfo
impl Default for AccountInfo
source§fn default() -> AccountInfo
fn default() -> AccountInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountInfo
impl<'de> Deserialize<'de> for AccountInfo
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
Auto Trait Implementations§
impl Freeze for AccountInfo
impl RefUnwindSafe for AccountInfo
impl Send for AccountInfo
impl Sync for AccountInfo
impl Unpin for AccountInfo
impl UnwindSafe for AccountInfo
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