pub struct ListClustersResponse {
pub clusters: Option<Vec<Cluster>>,
pub next_page_token: Option<String>,
pub unreachable: Option<Vec<String>>,
}Expand description
Response for ListClusters.
§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 clusters list projects (response)
Fields§
§clusters: Option<Vec<Cluster>>A list of Redis clusters in the project in the specified location, or across all locations. If the location_id in the parent field of the request is “-”, all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder Redis entry is included in the response with the name field set to a value of the form projects/{project_id}/locations/{location_id}/clusters/- and the status field set to ERROR and status_message field set to “location not available for ListClusters”.
next_page_token: Option<String>Token to retrieve the next page of results, or empty 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 ListClustersResponse
impl Clone for ListClustersResponse
Source§fn clone(&self) -> ListClustersResponse
fn clone(&self) -> ListClustersResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListClustersResponse
impl Debug for ListClustersResponse
Source§impl Default for ListClustersResponse
impl Default for ListClustersResponse
Source§fn default() -> ListClustersResponse
fn default() -> ListClustersResponse
Source§impl<'de> Deserialize<'de> for ListClustersResponse
impl<'de> Deserialize<'de> for ListClustersResponse
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 ListClustersResponse
impl Serialize for ListClustersResponse
impl ResponseResult for ListClustersResponse
Auto Trait Implementations§
impl Freeze for ListClustersResponse
impl RefUnwindSafe for ListClustersResponse
impl Send for ListClustersResponse
impl Sync for ListClustersResponse
impl Unpin for ListClustersResponse
impl UnwindSafe for ListClustersResponse
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