#[non_exhaustive]pub struct ListLogEntriesResponse {
pub entries: Vec<LogEntry>,
pub next_page_token: String,
/* private fields */
}Expand description
Result returned from ListLogEntries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<LogEntry>A list of log entries. If entries is empty, nextPageToken may still be
returned, indicating that more entries may exist. See nextPageToken for
more information.
next_page_token: StringIf there might be more results than those appearing in this response, then
nextPageToken is included. To get the next set of results, call this
method again using the value of nextPageToken as pageToken.
If a value for next_page_token appears and the entries field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for page_token to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.
Implementations§
Source§impl ListLogEntriesResponse
impl ListLogEntriesResponse
pub fn new() -> Self
Sourcepub fn set_entries<T, V>(self, v: T) -> Self
pub fn set_entries<T, V>(self, v: T) -> Self
Sets the value of entries.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for ListLogEntriesResponse
impl Clone for ListLogEntriesResponse
Source§fn clone(&self) -> ListLogEntriesResponse
fn clone(&self) -> ListLogEntriesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more