Struct glean_core::upload::PingPayload
source · 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§
source§impl Clone for PingPayload
impl Clone for PingPayload
source§fn clone(&self) -> PingPayload
fn clone(&self) -> PingPayload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PingPayload
impl Debug for PingPayload
source§impl Default for PingPayload
impl Default for PingPayload
source§fn default() -> PingPayload
fn default() -> PingPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PingPayload
impl Send for PingPayload
impl Sync for PingPayload
impl Unpin for PingPayload
impl UnwindSafe for PingPayload
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more