pub struct ExportResponse {
pub status: u16,
pub headers: HashMap<String, String>,
pub body: Vec<u8>,
}Expand description
What the collector answered. A transport moves bytes both ways and never interprets them:
status classification, Retry-After, the google.rpc.Status body and the Cloud “disabled”
contract are read once, here, for every platform (Verdict::of).
Fields§
§status: u16The HTTP status code.
headers: HashMap<String, String>The response headers; the core reads Retry-After from them.
body: Vec<u8>The response body: an OTLP partial success, a google.rpc.Status or plain text.
Implementations§
Trait Implementations§
Source§impl Clone for ExportResponse
impl Clone for ExportResponse
Source§impl Debug for ExportResponse
impl Debug for ExportResponse
Source§impl Default for ExportResponse
impl Default for ExportResponse
Source§impl PartialEq for ExportResponse
impl PartialEq for ExportResponse
impl StructuralPartialEq for ExportResponse
Auto Trait Implementations§
impl Forget for ExportResponse
impl Freeze for ExportResponse
impl Move for ExportResponse
impl RefUnwindSafe for ExportResponse
impl Send for ExportResponse
impl Sync for ExportResponse
impl Unpin for ExportResponse
impl UnsafeUnpin for ExportResponse
impl UnwindSafe for ExportResponse
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