#[non_exhaustive]pub struct QueryContainerLogsResponse {
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub oldest_kept_time: Option<Timestamp>,
pub lines: Vec<LogLine>,
pub next_page_token: String,
pub tail_cursor: String,
}Expand description
What Client::query_container_logs returns.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: Option<Timestamp>The range queried, as the machine resolved it: defaults applied, on its clock.
end_time: Option<Timestamp>§oldest_kept_time: Option<Timestamp>Of the oldest line of container output the machine keeps: nothing older can be queried. Absent = none is kept.
lines: Vec<LogLine>§next_page_token: StringEmpty = no more.
tail_cursor: StringWhere Client::tail_container_logs goes on from (after_cursor), so it misses no line newer than these: set on every page, an empty one too. Empty = the machine had logged no line.
Trait Implementations§
Source§impl Clone for QueryContainerLogsResponse
impl Clone for QueryContainerLogsResponse
Source§impl Debug for QueryContainerLogsResponse
impl Debug for QueryContainerLogsResponse
Source§impl Default for QueryContainerLogsResponse
impl Default for QueryContainerLogsResponse
Source§impl<'de> Deserialize<'de> for QueryContainerLogsResponse
From the API’s JSON. A field this version does not know is refused, as the API
refuses one it does not have.
impl<'de> Deserialize<'de> for QueryContainerLogsResponse
From the API’s JSON. A field this version does not know is refused, as the API refuses one it does not have.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for QueryContainerLogsResponse
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit
integer as a string, a time as RFC 3339, bytes as base64.
impl Serialize for QueryContainerLogsResponse
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit integer as a string, a time as RFC 3339, bytes as base64.
impl StructuralPartialEq for QueryContainerLogsResponse
Auto Trait Implementations§
impl Freeze for QueryContainerLogsResponse
impl RefUnwindSafe for QueryContainerLogsResponse
impl Send for QueryContainerLogsResponse
impl Sync for QueryContainerLogsResponse
impl Unpin for QueryContainerLogsResponse
impl UnsafeUnpin for QueryContainerLogsResponse
impl UnwindSafe for QueryContainerLogsResponse
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
Mutably borrows from an owned value. Read more