pub struct DatabaseThroughputSpec {
pub by: String,
pub value: i64,
pub extra: Value,
}Expand description
Optional. Throughput measurement method.
Fields§
§by: StringThroughput measurement method. Use ‘operations-per-second’ for all new databases.
value: i64Throughput value in the selected measurement method.
extra: ValueAdditional fields from the API
Trait Implementations§
Source§impl Clone for DatabaseThroughputSpec
impl Clone for DatabaseThroughputSpec
Source§fn clone(&self) -> DatabaseThroughputSpec
fn clone(&self) -> DatabaseThroughputSpec
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatabaseThroughputSpec
impl Debug for DatabaseThroughputSpec
Source§impl<'de> Deserialize<'de> for DatabaseThroughputSpec
impl<'de> Deserialize<'de> for DatabaseThroughputSpec
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 DatabaseThroughputSpec
impl RefUnwindSafe for DatabaseThroughputSpec
impl Send for DatabaseThroughputSpec
impl Sync for DatabaseThroughputSpec
impl Unpin for DatabaseThroughputSpec
impl UnwindSafe for DatabaseThroughputSpec
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)