pub struct ListLogsResponse {
pub has_more: Option<bool>,
pub logs: Option<Vec<ListLogsResponseLogsItem>>,
pub next_end_time: Option<DateTime<Utc>>,
pub next_start_time: Option<DateTime<Utc>>,
}Expand description
A run of a cron job
JSON schema
{
"description": "A run of a cron job",
"type": "object",
"properties": {
"hasMore": {
"description": "True if there are more logs to fetch",
"type": "boolean"
},
"logs": {
"type": "array",
"items": {
"description": "A log entry with metadata",
"type": "object",
"properties": {
"id": {
"description": "A unique ID of the log entry",
"type": "string"
},
"labels": {
"type": "array",
"items": {
"description": "A log label",
"type": "object",
"properties": {
"name": {
"description": "The name of the log label",
"type": "string"
},
"value": {
"description": "The value of the log label",
"type": "string"
}
}
}
},
"message": {
"description": "The message of the log entry",
"type": "string"
},
"timestamp": {
"description": "The timestamp of the log entry",
"type": "string",
"format": "date-time"
}
}
}
},
"nextEndTime": {
"description": "The end time to use in the next query to fetch the
next set of logs",
"examples": [
"2021-07-15T07:20:05.777035-07:00"
],
"type": "string",
"format": "date-time"
},
"nextStartTime": {
"description": "The start time to use in the next query to fetch
the next set of logs",
"examples": [
"2021-07-15T07:20:05.777035-07:00"
],
"type": "string",
"format": "date-time"
}
}
}Fields§
§has_more: Option<bool>True if there are more logs to fetch
logs: Option<Vec<ListLogsResponseLogsItem>>§next_end_time: Option<DateTime<Utc>>The end time to use in the next query to fetch the next set of logs
next_start_time: Option<DateTime<Utc>>The start time to use in the next query to fetch the next set of logs
Trait Implementations§
Source§impl Clone for ListLogsResponse
impl Clone for ListLogsResponse
Source§fn clone(&self) -> ListLogsResponse
fn clone(&self) -> ListLogsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListLogsResponse
impl Debug for ListLogsResponse
Source§impl Default for ListLogsResponse
impl Default for ListLogsResponse
Source§impl<'de> Deserialize<'de> for ListLogsResponse
impl<'de> Deserialize<'de> for ListLogsResponse
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ListLogsResponse
impl RefUnwindSafe for ListLogsResponse
impl Send for ListLogsResponse
impl Sync for ListLogsResponse
impl Unpin for ListLogsResponse
impl UnsafeUnpin for ListLogsResponse
impl UnwindSafe for ListLogsResponse
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