pub struct PingMetadata {
    pub headers: Option<HeaderMap>,
    pub body_has_info_sections: Option<bool>,
    pub ping_name: Option<String>,
}
Expand description

A ping’s metadata, as (optionally) represented on disk.

Anything that isn’t the upload path or the ping body.

Fields§

§headers: Option<HeaderMap>

HTTP headers to include when uploading the ping.

§body_has_info_sections: Option<bool>

Whether the body has {client|ping}_info sections.

§ping_name: Option<String>

The name of the ping.

Trait Implementations§

Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. 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 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.