Struct google_logging2::api::ListRecentQueriesResponse
source · 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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