pub struct EndpointLog {
pub timestamp: String,
pub method: Option<String>,
pub network: Option<String>,
pub http_method: Option<String>,
pub status: Option<i32>,
pub error_code: Option<i64>,
pub url: Option<String>,
pub request_id: Option<String>,
pub details: Option<LogDetails>,
}Expand description
A single endpoint log entry.
Fields§
§timestamp: StringTime the request was received.
method: Option<String>RPC method called (e.g. eth_blockNumber).
network: Option<String>Network the request was routed to.
http_method: Option<String>HTTP verb (e.g. POST).
status: Option<i32>Response HTTP status code.
error_code: Option<i64>JSON-RPC error code, when present.
url: Option<String>Request URL.
request_id: Option<String>Request UUID used to fetch full log details.
details: Option<LogDetails>Full payloads, included when requested.
Trait Implementations§
Source§impl Clone for EndpointLog
impl Clone for EndpointLog
Source§fn clone(&self) -> EndpointLog
fn clone(&self) -> EndpointLog
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 EndpointLog
impl Debug for EndpointLog
Source§impl<'de> Deserialize<'de> for EndpointLog
impl<'de> Deserialize<'de> for EndpointLog
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 EndpointLog
impl RefUnwindSafe for EndpointLog
impl Send for EndpointLog
impl Sync for EndpointLog
impl Unpin for EndpointLog
impl UnsafeUnpin for EndpointLog
impl UnwindSafe for EndpointLog
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