Struct glean::net::PingUploadRequest
source · pub struct PingUploadRequest {
pub url: String,
pub body: Vec<u8>,
pub headers: Vec<(String, String)>,
pub body_has_info_sections: bool,
pub ping_name: String,
}
Expand description
Everything you need to request a ping to be uploaded.
Fields§
§url: String
The URL the Glean SDK expects you to use to upload the ping.
body: Vec<u8>
The body, already content-encoded, for upload.
headers: Vec<(String, String)>
The HTTP headers, including any Content-Encoding.
body_has_info_sections: bool
Whether the body has {client|ping}_info sections in it.
ping_name: String
The name (aka doctype) of the ping.
Auto Trait Implementations§
impl Freeze for PingUploadRequest
impl RefUnwindSafe for PingUploadRequest
impl Send for PingUploadRequest
impl Sync for PingUploadRequest
impl Unpin for PingUploadRequest
impl UnwindSafe for PingUploadRequest
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
source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>