pub struct EncodedMetrics {
pub content_type: String,
pub body: String,
}Expand description
HTTP-ready encoded metrics payload.
Fields§
§content_type: StringPrometheus content type for text exposition.
body: StringUTF-8 encoded exposition payload.
Trait Implementations§
Source§impl Clone for EncodedMetrics
impl Clone for EncodedMetrics
Source§fn clone(&self) -> EncodedMetrics
fn clone(&self) -> EncodedMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncodedMetrics
impl Debug for EncodedMetrics
Source§impl PartialEq for EncodedMetrics
impl PartialEq for EncodedMetrics
impl Eq for EncodedMetrics
impl StructuralPartialEq for EncodedMetrics
Auto Trait Implementations§
impl Freeze for EncodedMetrics
impl RefUnwindSafe for EncodedMetrics
impl Send for EncodedMetrics
impl Sync for EncodedMetrics
impl Unpin for EncodedMetrics
impl UnsafeUnpin for EncodedMetrics
impl UnwindSafe for EncodedMetrics
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