pub struct GpuType {
pub id: String,
pub display_name: String,
pub memory_in_gb: f64,
pub secure_cloud: bool,
pub community_cloud: bool,
pub secure_price: Option<f64>,
pub community_price: Option<f64>,
pub community_spot_price: Option<f64>,
pub secure_spot_price: Option<f64>,
}Fields§
§id: String§display_name: String§memory_in_gb: f64§secure_cloud: bool§community_cloud: bool§secure_price: Option<f64>§community_price: Option<f64>§community_spot_price: Option<f64>§secure_spot_price: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GpuType
impl<'de> Deserialize<'de> for GpuType
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 GpuType
impl RefUnwindSafe for GpuType
impl Send for GpuType
impl Sync for GpuType
impl Unpin for GpuType
impl UnwindSafe for GpuType
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