[][src]Struct google_lifesciences2_beta::Accelerator

pub struct Accelerator {
    pub count: Option<String>,
    pub type_: Option<String>,
}

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<String>

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

impl Clone for Accelerator[src]

impl Debug for Accelerator[src]

impl Default for Accelerator[src]

impl<'de> Deserialize<'de> for Accelerator[src]

impl Part for Accelerator[src]

impl Serialize for Accelerator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any