pub struct PingResult {
pub agent_time: DateTime<Utc>,
}Expand description
system.ping response. Carries the agent’s monotonic clock at
the moment it answered — clients use the (sent_at, received_at)
pair for one-way latency estimates without needing a separate
API.
Fields§
§agent_time: DateTime<Utc>Agent-side wall-clock time when the ping was answered, UTC. Round-trip variance comes from queueing + scheduling, not clock skew — this is wall-clock for log correlation, not for monotonic measurement.
Trait Implementations§
Source§impl Clone for PingResult
impl Clone for PingResult
Source§fn clone(&self) -> PingResult
fn clone(&self) -> PingResult
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 PingResult
impl Debug for PingResult
Source§impl<'de> Deserialize<'de> for PingResult
impl<'de> Deserialize<'de> for PingResult
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 JsonSchema for PingResult
impl JsonSchema for PingResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PingResult
impl RefUnwindSafe for PingResult
impl Send for PingResult
impl Sync for PingResult
impl Unpin for PingResult
impl UnsafeUnpin for PingResult
impl UnwindSafe for PingResult
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