ReferenceSdkRustTypes
PingTiming
Rust struct goodmem::models::PingTiming: declaration, fields or variants, and implementations.
Struct PingTiming
goodmem::models::PingTiming
Timing information captured during a ping probe
pub struct PingTiming {
pub client_send_time_unix_nanos: i64,
pub server_received_time_unix_nanos: i64,
pub server_send_time_unix_nanos: i64,
pub client_receive_time_unix_nanos: i64,
}Fields
client_send_time_unix_nanos
pub client_send_time_unix_nanos: i64
Client send time (Unix epoch nanoseconds)
Wire name: clientSendTimeUnixNanos.
server_received_time_unix_nanos
pub server_received_time_unix_nanos: i64
Server received time (Unix epoch nanoseconds)
Wire name: serverReceivedTimeUnixNanos.
server_send_time_unix_nanos
pub server_send_time_unix_nanos: i64
Server send time (Unix epoch nanoseconds)
Wire name: serverSendTimeUnixNanos.
client_receive_time_unix_nanos
pub client_receive_time_unix_nanos: i64
Client receive time (Unix epoch nanoseconds)
Wire name: clientReceiveTimeUnixNanos.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for PingTimingimpl std::fmt::Debug for PingTiming