pub struct MetricsResponse {
pub status: u16,
pub content_type: String,
pub body: String,
}Expand description
Response type for metrics endpoint (used for testing)
Fields§
§status: u16§content_type: String§body: StringAuto Trait Implementations§
impl Freeze for MetricsResponse
impl RefUnwindSafe for MetricsResponse
impl Send for MetricsResponse
impl Sync for MetricsResponse
impl Unpin for MetricsResponse
impl UnsafeUnpin for MetricsResponse
impl UnwindSafe for MetricsResponse
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