Struct async_nats::jetstream::account::Account
source · pub struct Account {
pub memory: u64,
pub storage: u64,
pub streams: usize,
pub consumers: usize,
pub domain: Option<String>,
pub limits: Limits,
pub requests: Requests,
pub tiers: HashMap<String, Tier>,
}Fields§
§memory: u64Memory storage being used for Stream Message storage
storage: u64File Storage being used for Stream Message storage
streams: usizeNumber of active Streams
consumers: usizeNumber of active Consumers
domain: Option<String>The JetStream domain this account is in
limits: LimitsLimits imposed on this account.
requests: RequestsNumber of requests received.
tiers: HashMap<String, Tier>Tiers associated with this account.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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<Account> for Account
impl PartialEq<Account> for Account
impl Eq for Account
impl StructuralEq for Account
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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