pub struct ProvisionedThroughput {
pub read_capacity_units: i64,
pub write_capacity_units: i64,
}Expand description
Provisioned throughput settings for a table or GSI (input).
Specifies the read and write capacity units to provision. For on-demand tables this is accepted but not enforced.
Fields§
§read_capacity_units: i64The maximum number of strongly consistent reads per second.
write_capacity_units: i64The maximum number of writes per second.
Trait Implementations§
Source§impl Clone for ProvisionedThroughput
impl Clone for ProvisionedThroughput
Source§fn clone(&self) -> ProvisionedThroughput
fn clone(&self) -> ProvisionedThroughput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProvisionedThroughput
impl Debug for ProvisionedThroughput
Source§impl Default for ProvisionedThroughput
impl Default for ProvisionedThroughput
Source§fn default() -> ProvisionedThroughput
fn default() -> ProvisionedThroughput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvisionedThroughput
impl<'de> Deserialize<'de> for ProvisionedThroughput
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
Auto Trait Implementations§
impl Freeze for ProvisionedThroughput
impl RefUnwindSafe for ProvisionedThroughput
impl Send for ProvisionedThroughput
impl Sync for ProvisionedThroughput
impl Unpin for ProvisionedThroughput
impl UnsafeUnpin for ProvisionedThroughput
impl UnwindSafe for ProvisionedThroughput
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