#[non_exhaustive]pub struct Size {
pub name: String,
pub family: String,
pub location: String,
pub restricted: Option<String>,
pub vcpus: Option<u32>,
pub memory_gb: Option<f64>,
}Expand description
A VM size in one location, as az vm list-skus --all lists it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringIts name (Standard_D2als_v6).
family: StringIts quota family, lowercase, as quotas names it.
location: StringThe location this entry is about, lowercase.
restricted: Option<String>Why Azure won’t create it for this subscription in location (its reason code:
NotAvailableForSubscription, QuotaId), if it won’t.
vcpus: Option<u32>Its vCPUs, when listed.
memory_gb: Option<f64>Its memory in GB, when listed.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Size
Auto Trait Implementations§
impl Forget for Size
impl Freeze for Size
impl Move for Size
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnsafeUnpin for Size
impl UnwindSafe for Size
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