pub struct FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo {
pub count: Option<i64>,
pub model: Option<String>,
pub vram: Option<FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfoVram>,
}Expand description
An object containing information about the GPU capabilities of Droplets created with this size.
JSON schema
{
"description": "An object containing information about the GPU capabilities of Droplets created with this size.",
"type": "object",
"properties": {
"count": {
"description": "The number of GPUs allocated to the Droplet.",
"examples": [
1
],
"type": "integer"
},
"model": {
"description": "The model of the GPU.",
"examples": [
"nvidia_h100"
],
"type": "string"
},
"vram": {
"type": "object",
"properties": {
"amount": {
"description": "The amount of VRAM allocated to the GPU.",
"examples": [
25
],
"type": "integer"
},
"unit": {
"description": "The unit of measure for the VRAM.",
"examples": [
"gib"
],
"type": "string"
}
}
}
}
}Fields§
§count: Option<i64>The number of GPUs allocated to the Droplet.
model: Option<String>The model of the GPU.
vram: Option<FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfoVram>Trait Implementations§
Source§impl Clone for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl Clone for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
Source§fn clone(&self) -> FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
fn clone(&self) -> FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl<'de> Deserialize<'de> for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
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 From<&FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo> for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl From<&FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo> for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
Source§fn from(value: &FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo) -> Self
fn from(value: &FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl RefUnwindSafe for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl Send for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl Sync for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl Unpin for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl UnsafeUnpin for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
impl UnwindSafe for FloatingIPsGetResponseFloatingIpDropletSubtype1GpuInfo
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