pub struct AcceleratorType {
pub creation_timestamp: Option<String>,
pub deprecated: Option<DeprecationStatus>,
pub description: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub maximum_cards_per_instance: Option<i32>,
pub name: Option<String>,
pub self_link: Option<String>,
pub zone: Option<String>,
}
Expand description
Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- aggregated list accelerator types (none)
- get accelerator types (response)
- list accelerator types (none)
Fields§
§creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
deprecated: Option<DeprecationStatus>
[Output Only] The deprecation status associated with this accelerator type.
description: Option<String>
[Output Only] An optional textual description of the resource.
id: Option<u64>
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind: Option<String>
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
maximum_cards_per_instance: Option<i32>
[Output Only] Maximum number of accelerator cards allowed per instance.
name: Option<String>
[Output Only] Name of the resource.
self_link: Option<String>
[Output Only] Server-defined, fully qualified URL for this resource.
zone: Option<String>
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Trait Implementations§
Source§impl Clone for AcceleratorType
impl Clone for AcceleratorType
Source§fn clone(&self) -> AcceleratorType
fn clone(&self) -> AcceleratorType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AcceleratorType
impl Debug for AcceleratorType
Source§impl Default for AcceleratorType
impl Default for AcceleratorType
Source§fn default() -> AcceleratorType
fn default() -> AcceleratorType
Source§impl<'de> Deserialize<'de> for AcceleratorType
impl<'de> Deserialize<'de> for AcceleratorType
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>,
Source§impl Serialize for AcceleratorType
impl Serialize for AcceleratorType
impl Resource for AcceleratorType
impl ResponseResult for AcceleratorType
Auto Trait Implementations§
impl Freeze for AcceleratorType
impl RefUnwindSafe for AcceleratorType
impl Send for AcceleratorType
impl Sync for AcceleratorType
impl Unpin for AcceleratorType
impl UnwindSafe for AcceleratorType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more