pub struct PushSnapshot {
pub timestamp_ms: i64,
pub metrics_text: String,
pub job: String,
pub instance: Option<String>,
}Expand description
一次推送的快照
Fields§
§timestamp_ms: i64推送时间戳(Unix 毫秒)
metrics_text: String推送的指标文本
job: String作业名
instance: Option<String>实例名
Trait Implementations§
Source§impl Clone for PushSnapshot
impl Clone for PushSnapshot
Source§fn clone(&self) -> PushSnapshot
fn clone(&self) -> PushSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PushSnapshot
impl RefUnwindSafe for PushSnapshot
impl Send for PushSnapshot
impl Sync for PushSnapshot
impl Unpin for PushSnapshot
impl UnsafeUnpin for PushSnapshot
impl UnwindSafe for PushSnapshot
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