pub struct Category {
pub resource_family: Option<String>,
pub resource_group: Option<String>,
pub service_display_name: Option<String>,
pub usage_type: Option<String>,
}Expand description
Represents the category hierarchy of a SKU.
This type is not used in any activity, and only used as part of another schema.
Fields§
§resource_family: Option<String>The type of product the SKU refers to. Example: “Compute”, “Storage”, “Network”, “ApplicationServices” etc.
resource_group: Option<String>A group classification for related SKUs. Example: “RAM”, “GPU”, “Prediction”, “Ops”, “GoogleEgress” etc.
service_display_name: Option<String>The display name of the service this SKU belongs to.
usage_type: Option<String>Represents how the SKU is consumed. Example: “OnDemand”, “Preemptible”, “Commit1Mo”, “Commit1Yr” etc.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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
impl Part for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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