Struct google_lifesciences2_beta::api::Accelerator
source · pub struct Accelerator {
pub count: Option<i64>,
pub type_: Option<String>,
}
Expand description
Carries information about an accelerator that can be attached to a VM.
This type is not used in any activity, and only used as part of another schema.
Fields§
§count: Option<i64>
How many accelerators of this type to attach.
type_: Option<String>
The accelerator type string (for example, “nvidia-tesla-k80”). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under /usr/local/nvidia
. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes.
Trait Implementations§
source§impl Clone for Accelerator
impl Clone for Accelerator
source§fn clone(&self) -> Accelerator
fn clone(&self) -> Accelerator
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 Accelerator
impl Debug for Accelerator
source§impl Default for Accelerator
impl Default for Accelerator
source§fn default() -> Accelerator
fn default() -> Accelerator
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Accelerator
impl<'de> Deserialize<'de> for Accelerator
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 Accelerator
impl Serialize for Accelerator
impl Part for Accelerator
Auto Trait Implementations§
impl RefUnwindSafe for Accelerator
impl Send for Accelerator
impl Sync for Accelerator
impl Unpin for Accelerator
impl UnwindSafe for Accelerator
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