pub struct Capacity {
pub publish_mib_per_sec: Option<i32>,
pub subscribe_mib_per_sec: Option<i32>,
}Expand description
The throughput capacity configuration for each partition.
This type is not used in any activity, and only used as part of another schema.
Fields§
§publish_mib_per_sec: Option<i32>Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribe_mib_per_sec: Option<i32>Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Capacity
impl<'de> Deserialize<'de> for Capacity
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 Part for Capacity
Auto Trait Implementations§
impl Freeze for Capacity
impl RefUnwindSafe for Capacity
impl Send for Capacity
impl Sync for Capacity
impl Unpin for Capacity
impl UnwindSafe for Capacity
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