pub struct ConsumedCapacity {
pub table_name: String,
pub capacity_units: f64,
pub table: Option<CapacityDetail>,
pub global_secondary_indexes: Option<HashMap<String, CapacityDetail>>,
pub local_secondary_indexes: Option<HashMap<String, CapacityDetail>>,
}Expand description
ConsumedCapacity returned when ReturnConsumedCapacity is set.
Fields§
§table_name: String§capacity_units: f64§table: Option<CapacityDetail>§global_secondary_indexes: Option<HashMap<String, CapacityDetail>>§local_secondary_indexes: Option<HashMap<String, CapacityDetail>>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 (const: unstable) · 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