pub struct ListInstancesResponse {
pub instances: Option<Vec<Instance>>,
pub next_page_token: Option<String>,
pub unreachable: Option<Vec<String>>,
}
Expand description
ListInstancesResponse is the result of ListInstancesRequest.
§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).
- locations instances list projects (response)
Fields§
§instances: Option<Vec<Instance>>
A list of instances in the project for the specified location. If the {location}
value in the request is “-”, the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the “unreachable” field will be populated with a list of unreachable locations.
next_page_token: Option<String>
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
unreachable: Option<Vec<String>>
Locations that could not be reached.
Trait Implementations§
Source§impl Clone for ListInstancesResponse
impl Clone for ListInstancesResponse
Source§fn clone(&self) -> ListInstancesResponse
fn clone(&self) -> ListInstancesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListInstancesResponse
impl Debug for ListInstancesResponse
Source§impl Default for ListInstancesResponse
impl Default for ListInstancesResponse
Source§fn default() -> ListInstancesResponse
fn default() -> ListInstancesResponse
Source§impl<'de> Deserialize<'de> for ListInstancesResponse
impl<'de> Deserialize<'de> for ListInstancesResponse
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 ListInstancesResponse
impl Serialize for ListInstancesResponse
impl ResponseResult for ListInstancesResponse
Auto Trait Implementations§
impl Freeze for ListInstancesResponse
impl RefUnwindSafe for ListInstancesResponse
impl Send for ListInstancesResponse
impl Sync for ListInstancesResponse
impl Unpin for ListInstancesResponse
impl UnwindSafe for ListInstancesResponse
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