Struct google_manufacturers1::api::Capacity
source · pub struct Capacity {
pub unit: Option<String>,
pub value: Option<i64>,
}
Expand description
The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§unit: Option<String>
The unit of the capacity, i.e., MB, GB, or TB.
value: Option<i64>
The numeric value of the capacity.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Capacity
impl<'de> Deserialize<'de> for Capacity
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