pub struct Log {
pub message: String,
pub timestamp: f64,
pub stream: Option<LogStream>,
pub instance_id: String,
}
Fields§
§message: String
§timestamp: f64
When the message was recorded, in nanoseconds since the Unix epoch.
stream: Option<LogStream>
§instance_id: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Log
impl<'de> Deserialize<'de> for Log
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
Source§impl QueryFragment for Log
impl QueryFragment for Log
Source§type SchemaType = Log
type SchemaType = Log
The type in a schema that this
QueryFragment
representsSource§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragment
Source§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
Adds this fragment to the query being built by
builder
impl StructuralPartialEq for Log
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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