pub struct RegionList {
pub id: Option<String>,
pub items: Option<Vec<Region>>,
pub kind: Option<String>,
pub next_page_token: Option<String>,
pub self_link: Option<String>,
pub warning: Option<RegionListWarning>,
}
Expand description
Contains a list of region resources.
§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 regions (response)
Fields§
§id: Option<String>
[Output Only] Unique identifier for the resource; defined by the server.
items: Option<Vec<Region>>
A list of Region resources.
kind: Option<String>
[Output Only] Type of resource. Always compute#regionList for lists of regions.
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<RegionListWarning>
[Output Only] Informational warning message.
Trait Implementations§
Source§impl Clone for RegionList
impl Clone for RegionList
Source§fn clone(&self) -> RegionList
fn clone(&self) -> RegionList
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RegionList
impl Debug for RegionList
Source§impl Default for RegionList
impl Default for RegionList
Source§fn default() -> RegionList
fn default() -> RegionList
Source§impl<'de> Deserialize<'de> for RegionList
impl<'de> Deserialize<'de> for RegionList
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 RegionList
impl Serialize for RegionList
impl ResponseResult for RegionList
Auto Trait Implementations§
impl Freeze for RegionList
impl RefUnwindSafe for RegionList
impl Send for RegionList
impl Sync for RegionList
impl Unpin for RegionList
impl UnwindSafe for RegionList
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