pub struct FixedAggregationKey<T> {
pub resource_name: T,
pub service_name: T,
pub operation_name: T,
pub span_type: T,
pub span_kind: T,
pub http_method: T,
pub http_endpoint: T,
pub service_source: T,
pub http_status_code: u32,
pub grpc_status_code: Option<u8>,
pub is_synthetics_request: bool,
pub is_trace_root: bool,
}Expand description
Aggregation key fields shared across all concentrator implementations — everything except peer tags.
T is the string representation:
&'a str— borrowed references used in [BorrowedAggregationKey]String— owned values used inOwnedAggregationKeyStringRef— offset+len into a SHM string pool, used inShmKeyHeader
Fields§
§resource_name: T§service_name: T§operation_name: T§span_type: T§span_kind: T§http_method: T§http_endpoint: T§service_source: T§http_status_code: u32§grpc_status_code: Option<u8>§is_synthetics_request: bool§is_trace_root: boolImplementations§
Source§impl<T> FixedAggregationKey<T>
impl<T> FixedAggregationKey<T>
Trait Implementations§
Source§impl<T: Clone> Clone for FixedAggregationKey<T>
impl<T: Clone> Clone for FixedAggregationKey<T>
Source§fn clone(&self) -> FixedAggregationKey<T>
fn clone(&self) -> FixedAggregationKey<T>
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 moreSource§impl<T: Debug> Debug for FixedAggregationKey<T>
impl<T: Debug> Debug for FixedAggregationKey<T>
Source§impl<T: Default> Default for FixedAggregationKey<T>
impl<T: Default> Default for FixedAggregationKey<T>
Source§fn default() -> FixedAggregationKey<T>
fn default() -> FixedAggregationKey<T>
Returns the “default value” for a type. Read more
Source§impl<'de, T> Deserialize<'de> for FixedAggregationKey<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for FixedAggregationKey<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: Eq> Eq for FixedAggregationKey<T>
Source§impl<T: Hash> Hash for FixedAggregationKey<T>
impl<T: Hash> Hash for FixedAggregationKey<T>
Source§impl<T: PartialEq> PartialEq for FixedAggregationKey<T>
impl<T: PartialEq> PartialEq for FixedAggregationKey<T>
Source§fn eq(&self, other: &FixedAggregationKey<T>) -> bool
fn eq(&self, other: &FixedAggregationKey<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T: PartialOrd> PartialOrd for FixedAggregationKey<T>
impl<T: PartialOrd> PartialOrd for FixedAggregationKey<T>
Source§impl<T> Serialize for FixedAggregationKey<T>where
T: Serialize,
impl<T> Serialize for FixedAggregationKey<T>where
T: Serialize,
impl<T> StructuralPartialEq for FixedAggregationKey<T>
Auto Trait Implementations§
impl<T> Freeze for FixedAggregationKey<T>where
T: Freeze,
impl<T> RefUnwindSafe for FixedAggregationKey<T>where
T: RefUnwindSafe,
impl<T> Send for FixedAggregationKey<T>where
T: Send,
impl<T> Sync for FixedAggregationKey<T>where
T: Sync,
impl<T> Unpin for FixedAggregationKey<T>where
T: Unpin,
impl<T> UnsafeUnpin for FixedAggregationKey<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for FixedAggregationKey<T>where
T: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.