pub struct ServiceSku {
pub name: Option<String>,
pub tier: Option<String>,
pub family: Option<String>,
pub size: Option<String>,
pub capacity: Option<i64>,
}
Expand description
An Azure SKU instance
Fields§
§name: Option<String>
The unique name of the SKU, such as ‘P3’
tier: Option<String>
The tier of the SKU, such as ‘Basic’, ‘General Purpose’, or ‘Business Critical’
family: Option<String>
The SKU family, used when the service has multiple performance classes within a tier, such as ‘A’, ‘D’, etc. for virtual machines
size: Option<String>
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. ‘A1’ for virtual machines
capacity: Option<i64>
The capacity of the SKU, if it supports scaling
Implementations§
source§impl ServiceSku
impl ServiceSku
Trait Implementations§
source§impl Clone for ServiceSku
impl Clone for ServiceSku
source§fn clone(&self) -> ServiceSku
fn clone(&self) -> ServiceSku
Returns a copy 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 ServiceSku
impl Debug for ServiceSku
source§impl Default for ServiceSku
impl Default for ServiceSku
source§fn default() -> ServiceSku
fn default() -> ServiceSku
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceSku
impl<'de> Deserialize<'de> for ServiceSku
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<ServiceSku> for ServiceSku
impl PartialEq<ServiceSku> for ServiceSku
source§fn eq(&self, other: &ServiceSku) -> bool
fn eq(&self, other: &ServiceSku) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ServiceSku
impl Serialize for ServiceSku
impl StructuralPartialEq for ServiceSku
Auto Trait Implementations§
impl RefUnwindSafe for ServiceSku
impl Send for ServiceSku
impl Sync for ServiceSku
impl Unpin for ServiceSku
impl UnwindSafe for ServiceSku
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