pub struct DatacenterServerTypes {
pub available: Vec<i64>,
pub available_for_migration: Vec<i64>,
pub supported: Vec<i64>,
}
Expand description
DatacenterServerTypes : The Server types the Datacenter can handle
Fields§
§available: Vec<i64>
IDs of Server types that are supported and for which the Datacenter has enough resources left
available_for_migration: Vec<i64>
IDs of Server types that are supported and for which the Datacenter has enough resources left
supported: Vec<i64>
IDs of Server types that are supported in the Datacenter
Implementations§
Trait Implementations§
source§impl Clone for DatacenterServerTypes
impl Clone for DatacenterServerTypes
source§fn clone(&self) -> DatacenterServerTypes
fn clone(&self) -> DatacenterServerTypes
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 DatacenterServerTypes
impl Debug for DatacenterServerTypes
source§impl Default for DatacenterServerTypes
impl Default for DatacenterServerTypes
source§fn default() -> DatacenterServerTypes
fn default() -> DatacenterServerTypes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DatacenterServerTypes
impl<'de> Deserialize<'de> for DatacenterServerTypes
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 DatacenterServerTypes
impl PartialEq for DatacenterServerTypes
source§fn eq(&self, other: &DatacenterServerTypes) -> bool
fn eq(&self, other: &DatacenterServerTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DatacenterServerTypes
impl Serialize for DatacenterServerTypes
impl StructuralPartialEq for DatacenterServerTypes
Auto Trait Implementations§
impl RefUnwindSafe for DatacenterServerTypes
impl Send for DatacenterServerTypes
impl Sync for DatacenterServerTypes
impl Unpin for DatacenterServerTypes
impl UnwindSafe for DatacenterServerTypes
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