Struct async_nats::jetstream::account::Tier
source · pub struct Tier {
pub memory: u64,
pub storage: u64,
pub streams: usize,
pub consumers: usize,
pub limits: Limits,
pub requests: Requests,
}
Fields§
§memory: u64
Memory Storage being used for Stream Message storage
storage: u64
File Storage being used for Stream Message storage
streams: usize
Number of active Streams
consumers: usize
Number of active Consumers
limits: Limits
Limits imposed on this tier.
requests: Requests
Number of requests received.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tier
impl<'de> Deserialize<'de> for Tier
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
impl Copy for Tier
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnwindSafe for Tier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)