Struct google_notebooks1::api::RuntimeAcceleratorConfig
source · pub struct RuntimeAcceleratorConfig {
pub core_count: Option<i64>,
pub type_: Option<String>,
}
Expand description
Definition of the types of hardware accelerators that can be used. See Compute Engine AcceleratorTypes. Examples: * nvidia-tesla-k80
* nvidia-tesla-p100
* nvidia-tesla-v100
* nvidia-tesla-p4
* nvidia-tesla-t4
* nvidia-tesla-a100
This type is not used in any activity, and only used as part of another schema.
Fields§
§core_count: Option<i64>
Count of cores of this accelerator.
type_: Option<String>
Accelerator model.
Trait Implementations§
source§impl Clone for RuntimeAcceleratorConfig
impl Clone for RuntimeAcceleratorConfig
source§fn clone(&self) -> RuntimeAcceleratorConfig
fn clone(&self) -> RuntimeAcceleratorConfig
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 RuntimeAcceleratorConfig
impl Debug for RuntimeAcceleratorConfig
source§impl Default for RuntimeAcceleratorConfig
impl Default for RuntimeAcceleratorConfig
source§fn default() -> RuntimeAcceleratorConfig
fn default() -> RuntimeAcceleratorConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RuntimeAcceleratorConfig
impl<'de> Deserialize<'de> for RuntimeAcceleratorConfig
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 Serialize for RuntimeAcceleratorConfig
impl Serialize for RuntimeAcceleratorConfig
impl Part for RuntimeAcceleratorConfig
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeAcceleratorConfig
impl Send for RuntimeAcceleratorConfig
impl Sync for RuntimeAcceleratorConfig
impl Unpin for RuntimeAcceleratorConfig
impl UnwindSafe for RuntimeAcceleratorConfig
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