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 accuont
Trait Implementations
sourceimpl Clone for AccountInfo
impl Clone for AccountInfo
sourcefn clone(&self) -> AccountInfo
fn clone(&self) -> AccountInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccountInfo
impl Debug for AccountInfo
sourceimpl Default for AccountInfo
impl Default for AccountInfo
sourcefn default() -> AccountInfo
fn default() -> AccountInfo
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AccountInfo
impl<'de> Deserialize<'de> for AccountInfo
sourcefn 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
sourceimpl Serialize for AccountInfo
impl Serialize for AccountInfo
Auto Trait Implementations
impl RefUnwindSafe for AccountInfo
impl Send for AccountInfo
impl Sync for AccountInfo
impl Unpin for AccountInfo
impl UnwindSafe for AccountInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more