Struct glean_core::ping::Ping [−][src]
pub struct Ping<'a> {
pub doc_id: &'a str,
pub name: &'a str,
pub url_path: &'a str,
pub content: JsonValue,
pub headers: HeaderMap,
}Expand description
Holds everything you need to store or send a ping.
Fields
doc_id: &'a strThe unique document id.
name: &'a strThe ping’s name.
url_path: &'a strThe path on the server to use when uplaoding this ping.
content: JsonValueThe payload, including *_info fields.
headers: HeaderMapThe headers to upload with the payload.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Ping<'a>impl<'a> UnwindSafe for Ping<'a>