pub struct TraceRecordOptions {
pub metrics: HashMap<String, i64>,
pub attributes: HashMap<String, String>,
}Expand description
Optional bundle of metrics and attributes passed into
TraceHandle::record.
Fields§
§metrics: HashMap<String, i64>§attributes: HashMap<String, String>Trait Implementations§
Source§impl Clone for TraceRecordOptions
impl Clone for TraceRecordOptions
Source§fn clone(&self) -> TraceRecordOptions
fn clone(&self) -> TraceRecordOptions
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 TraceRecordOptions
impl Debug for TraceRecordOptions
Source§impl Default for TraceRecordOptions
impl Default for TraceRecordOptions
Source§fn default() -> TraceRecordOptions
fn default() -> TraceRecordOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for TraceRecordOptions
impl PartialEq for TraceRecordOptions
impl Eq for TraceRecordOptions
impl StructuralPartialEq for TraceRecordOptions
Auto Trait Implementations§
impl Freeze for TraceRecordOptions
impl RefUnwindSafe for TraceRecordOptions
impl Send for TraceRecordOptions
impl Sync for TraceRecordOptions
impl Unpin for TraceRecordOptions
impl UnwindSafe for TraceRecordOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.