pub struct KeyValuePair {
pub key: Option<String>,
pub value: Option<i64>,
}Expand description
A throughput entry for an Elastic Inference Accelerator type.
Fields§
§key: Option<String>The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
value: Option<i64>The throughput value of the Elastic Inference Accelerator type.
Trait Implementations§
Source§impl Clone for KeyValuePair
impl Clone for KeyValuePair
Source§fn clone(&self) -> KeyValuePair
fn clone(&self) -> KeyValuePair
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 KeyValuePair
impl Debug for KeyValuePair
Source§impl Default for KeyValuePair
impl Default for KeyValuePair
Source§fn default() -> KeyValuePair
fn default() -> KeyValuePair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyValuePair
impl<'de> Deserialize<'de> for KeyValuePair
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
Source§impl PartialEq for KeyValuePair
impl PartialEq for KeyValuePair
impl StructuralPartialEq for KeyValuePair
Auto Trait Implementations§
impl Freeze for KeyValuePair
impl RefUnwindSafe for KeyValuePair
impl Send for KeyValuePair
impl Sync for KeyValuePair
impl Unpin for KeyValuePair
impl UnwindSafe for KeyValuePair
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