pub struct ListRecentQueriesResponse {
pub next_page_token: Option<String>,
pub recent_queries: Option<Vec<RecentQuery>>,
pub unreachable: Option<Vec<String>>,
}
Expand description
The response from ListRecentQueries.
§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 recent queries list billing accounts (response)
- locations recent queries list folders (response)
- locations recent queries list organizations (response)
- locations recent queries list projects (response)
Fields§
§next_page_token: Option<String>
If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.
recent_queries: Option<Vec<RecentQuery>>
A list of recent queries.
unreachable: Option<Vec<String>>
The unreachable resources. Each resource can be either 1) a saved query if a specific query is unreachable or 2) a location if a specific location is unreachable. “projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]” “projects/[PROJECT_ID]/locations/[LOCATION_ID]” For example:“projects/my-project/locations/global/recentQueries/12345678” “projects/my-project/locations/global“If there are unreachable resources, the response will first return pages that contain recent queries, and then return pages that contain the unreachable resources.
Trait Implementations§
Source§impl Clone for ListRecentQueriesResponse
impl Clone for ListRecentQueriesResponse
Source§fn clone(&self) -> ListRecentQueriesResponse
fn clone(&self) -> ListRecentQueriesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListRecentQueriesResponse
impl Debug for ListRecentQueriesResponse
Source§impl Default for ListRecentQueriesResponse
impl Default for ListRecentQueriesResponse
Source§fn default() -> ListRecentQueriesResponse
fn default() -> ListRecentQueriesResponse
Source§impl<'de> Deserialize<'de> for ListRecentQueriesResponse
impl<'de> Deserialize<'de> for ListRecentQueriesResponse
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>,
impl ResponseResult for ListRecentQueriesResponse
Auto Trait Implementations§
impl Freeze for ListRecentQueriesResponse
impl RefUnwindSafe for ListRecentQueriesResponse
impl Send for ListRecentQueriesResponse
impl Sync for ListRecentQueriesResponse
impl Unpin for ListRecentQueriesResponse
impl UnwindSafe for ListRecentQueriesResponse
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