pub struct DataCenterItem {
pub typename: Option<String>,
pub id: String,
pub name: String,
pub location: String,
pub storageSupport: bool,
pub gpu_availability: Vec<GpuAvailabilityItem>,
}Expand description
Represents one of the objects in that “dataCenters” array.
Fields§
§typename: Option<String>In the JSON, this is spelled "__typename": "DataCenter".
id: String§name: String§location: String§storageSupport: bool§gpu_availability: Vec<GpuAvailabilityItem>Trait Implementations§
Source§impl Debug for DataCenterItem
impl Debug for DataCenterItem
Source§impl<'de> Deserialize<'de> for DataCenterItem
impl<'de> Deserialize<'de> for DataCenterItem
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
Auto Trait Implementations§
impl Freeze for DataCenterItem
impl RefUnwindSafe for DataCenterItem
impl Send for DataCenterItem
impl Sync for DataCenterItem
impl Unpin for DataCenterItem
impl UnwindSafe for DataCenterItem
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