pub struct PingPayload {
    pub document_id: String,
    pub upload_path: String,
    pub json_body: String,
    pub headers: Option<HeaderMap>,
    pub body_has_info_sections: bool,
    pub ping_name: String,
}
Expand description

A representation of the data extracted from a ping file,

Fields§

§document_id: String

The ping’s doc_id.

§upload_path: String

The path to upload the ping to.

§json_body: String

The ping body as JSON-encoded string.

§headers: Option<HeaderMap>

HTTP headers to include in the upload request.

§body_has_info_sections: bool

Whether the ping body contains {client|ping}_info

§ping_name: String

The ping’s name. (Also likely in the upload_path.)

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

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

Returns the argument unchanged.

Create a new handle for an Arc value Read more
Clone a handle Read more
Consume a handle, getting back the initial Arc<>
Get a clone of the Arc<> using a “borrowed” handle. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.