Struct nakadion::api::stats::SubscriptionStats [−][src]
pub struct SubscriptionStats { pub event_types: Vec<EventTypeInfo>, }
A stream can provide multiple EventTypes
where each of them can have
its own partitioning setup.
Fields
event_types: Vec<EventTypeInfo>
Methods
impl SubscriptionStats
[src]
impl SubscriptionStats
pub fn max_partitions(&self) -> usize
[src]
pub fn max_partitions(&self) -> usize
Returns the number of partitions of the EventType
that has the most partitions.
Trait Implementations
impl Debug for SubscriptionStats
[src]
impl Debug for SubscriptionStats
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for SubscriptionStats
[src]
impl Default for SubscriptionStats
fn default() -> SubscriptionStats
[src]
fn default() -> SubscriptionStats
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for SubscriptionStats
impl Send for SubscriptionStats
impl Sync for SubscriptionStats
impl Sync for SubscriptionStats