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: Value,
pub headers: HeaderMap,
}Expand description
Holds everything you need to store or send a ping.
Fields§
§doc_id: &'a strThe unique document id.
name: &'a strThe ping’s name.
url_path: &'a strThe path on the server to use when uplaoding this ping.
content: ValueThe payload, including *_info fields.
headers: HeaderMapThe 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§
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