Struct glean_core::ping::Ping
source · [−]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 str
The unique document id.
name: &'a str
The ping’s name.
url_path: &'a str
The path on the server to use when uplaoding this ping.
content: JsonValue
The payload, including *_info
fields.
headers: HeaderMap
The headers to upload with the payload.