pub struct ListLogsResponseLogsItem {
pub id: Option<String>,
pub labels: Vec<ListLogsResponseLogsItemLabelsItem>,
pub message: Option<String>,
pub timestamp: Option<DateTime<Utc>>,
}Expand description
A log entry with metadata
JSON schema
{
"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"
}
}
}Fields§
§id: Option<String>A unique ID of the log entry
labels: Vec<ListLogsResponseLogsItemLabelsItem>§message: Option<String>The message of the log entry
timestamp: Option<DateTime<Utc>>The timestamp of the log entry
Trait Implementations§
Source§impl Clone for ListLogsResponseLogsItem
impl Clone for ListLogsResponseLogsItem
Source§fn clone(&self) -> ListLogsResponseLogsItem
fn clone(&self) -> ListLogsResponseLogsItem
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 ListLogsResponseLogsItem
impl Debug for ListLogsResponseLogsItem
Source§impl Default for ListLogsResponseLogsItem
impl Default for ListLogsResponseLogsItem
Source§impl<'de> Deserialize<'de> for ListLogsResponseLogsItem
impl<'de> Deserialize<'de> for ListLogsResponseLogsItem
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 ListLogsResponseLogsItem
impl RefUnwindSafe for ListLogsResponseLogsItem
impl Send for ListLogsResponseLogsItem
impl Sync for ListLogsResponseLogsItem
impl Unpin for ListLogsResponseLogsItem
impl UnsafeUnpin for ListLogsResponseLogsItem
impl UnwindSafe for ListLogsResponseLogsItem
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