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 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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.