ReferenceSdkRustTypes
PingEvent
Rust struct goodmem::models::PingEvent: declaration, fields or variants, and implementations.
Struct PingEvent
goodmem::models::PingEvent
Streaming event from a ping session
pub struct PingEvent {
pub result: Option<Box<PingResult>>,
pub summary: Option<Box<PingSummary>>,
pub notice: Option<Box<PingNotice>>,
}Referenced types: PingNotice, PingResult, PingSummary.
Fields
result
pub result: Option<Box<PingResult>>
Probe result event
Wire name: result.
summary
pub summary: Option<Box<PingSummary>>
Summary emitted at session completion
Wire name: summary.
notice
pub notice: Option<Box<PingNotice>>
Non-fatal notice emitted during session
Wire name: notice.
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 PingEventimpl std::fmt::Debug for PingEvent