Struct glean_core::ping::Ping
source · [−]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
impl<'a> RefUnwindSafe for Ping<'a>
impl<'a> Send for Ping<'a>
impl<'a> Sync for Ping<'a>
impl<'a> Unpin for Ping<'a>
impl<'a> UnwindSafe for Ping<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more