pub struct ConsumedCapacity {
pub table_name: Option<String>,
pub capacity_units: Option<f64>,
pub read_capacity_units: Option<f64>,
pub write_capacity_units: Option<f64>,
pub table: Option<Capacity>,
pub local_secondary_indexes: HashMap<String, Capacity>,
pub global_secondary_indexes: HashMap<String, Capacity>,
}Expand description
Total capacity consumed by an operation across table and indexes.
Returned when ReturnConsumedCapacity is set to TOTAL or INDEXES.
Fields§
§table_name: Option<String>The name of the table that was affected.
capacity_units: Option<f64>The total capacity units consumed by the operation.
read_capacity_units: Option<f64>The total read capacity units consumed.
write_capacity_units: Option<f64>The total write capacity units consumed.
table: Option<Capacity>The capacity consumed by the table (excluding indexes).
local_secondary_indexes: HashMap<String, Capacity>The capacity consumed by each local secondary index.
global_secondary_indexes: HashMap<String, Capacity>The capacity consumed by each global secondary index.
Trait Implementations§
Source§impl Clone for ConsumedCapacity
impl Clone for ConsumedCapacity
Source§fn clone(&self) -> ConsumedCapacity
fn clone(&self) -> ConsumedCapacity
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 ConsumedCapacity
impl Debug for ConsumedCapacity
Source§impl Default for ConsumedCapacity
impl Default for ConsumedCapacity
Source§fn default() -> ConsumedCapacity
fn default() -> ConsumedCapacity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsumedCapacity
impl<'de> Deserialize<'de> for ConsumedCapacity
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 ConsumedCapacity
impl RefUnwindSafe for ConsumedCapacity
impl Send for ConsumedCapacity
impl Sync for ConsumedCapacity
impl Unpin for ConsumedCapacity
impl UnsafeUnpin for ConsumedCapacity
impl UnwindSafe for ConsumedCapacity
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