ReferenceSdkRustTypes
PingNotice
Rust struct goodmem::models::PingNotice: declaration, fields or variants, and implementations.
Struct PingNotice
goodmem::models::PingNotice
Non-fatal notice emitted during a ping session
pub struct PingNotice {
pub code: String,
pub message: String,
pub details: Option<BTreeMap<String, String>>,
}Fields
code
pub code: String
Machine-readable notice identifier
Wire name: code.
message
pub message: String
Human-readable notice message
Wire name: message.
details
pub details: Option<BTreeMap<String, String>>
Additional contextual details
Wire name: details.
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 PingNoticeimpl std::fmt::Debug for PingNotice