pub struct InstanceTemplateList {
pub id: Option<String>,
pub items: Option<Vec<InstanceTemplate>>,
pub kind: Option<String>,
pub next_page_token: Option<String>,
pub self_link: Option<String>,
pub warning: Option<InstanceTemplateListWarning>,
}
Expand description
A list of instance templates.
§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).
- list instance templates (response)
- list region instance templates (response)
Fields§
§id: Option<String>
[Output Only] Unique identifier for the resource; defined by the server.
items: Option<Vec<InstanceTemplate>>
A list of InstanceTemplate resources.
kind: Option<String>
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.
next_page_token: Option<String>
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
self_link: Option<String>
[Output Only] Server-defined URL for this resource.
warning: Option<InstanceTemplateListWarning>
[Output Only] Informational warning message.
Trait Implementations§
Source§impl Clone for InstanceTemplateList
impl Clone for InstanceTemplateList
Source§fn clone(&self) -> InstanceTemplateList
fn clone(&self) -> InstanceTemplateList
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InstanceTemplateList
impl Debug for InstanceTemplateList
Source§impl Default for InstanceTemplateList
impl Default for InstanceTemplateList
Source§fn default() -> InstanceTemplateList
fn default() -> InstanceTemplateList
Source§impl<'de> Deserialize<'de> for InstanceTemplateList
impl<'de> Deserialize<'de> for InstanceTemplateList
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 InstanceTemplateList
impl Serialize for InstanceTemplateList
impl ResponseResult for InstanceTemplateList
Auto Trait Implementations§
impl Freeze for InstanceTemplateList
impl RefUnwindSafe for InstanceTemplateList
impl Send for InstanceTemplateList
impl Sync for InstanceTemplateList
impl Unpin for InstanceTemplateList
impl UnwindSafe for InstanceTemplateList
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