pub struct ProfileBatchV1 {Show 15 fields
pub format_version: u16,
pub profile_id: String,
pub batch_id: String,
pub start_unix_nanos: u64,
pub end_unix_nanos: u64,
pub duration_nanos: u64,
pub period_nanos: u64,
pub sample_types: Vec<ProfileSampleTypeV1>,
pub resource_attributes: Vec<ProfileLabelV1>,
pub instrumentation_scope: ProfileInstrumentationScopeV1,
pub mappings: Vec<ProfileMappingV1>,
pub functions: Vec<ProfileFunctionV1>,
pub locations: Vec<ProfileLocationV1>,
pub stacks: Vec<ProfileStackV1>,
pub samples: Vec<ProfileSampleV1>,
}Fields§
§format_version: u16§profile_id: String§batch_id: String§start_unix_nanos: u64§end_unix_nanos: u64§duration_nanos: u64§period_nanos: u64§sample_types: Vec<ProfileSampleTypeV1>§resource_attributes: Vec<ProfileLabelV1>§instrumentation_scope: ProfileInstrumentationScopeV1§mappings: Vec<ProfileMappingV1>§functions: Vec<ProfileFunctionV1>§locations: Vec<ProfileLocationV1>§stacks: Vec<ProfileStackV1>§samples: Vec<ProfileSampleV1>Implementations§
Source§impl ProfileBatchV1
impl ProfileBatchV1
pub fn validate( &self, model: &IndexRecordModel, ) -> Result<(), ProfileRecordError>
pub fn routing_identity_v1( &self, model: &IndexRecordModel, ) -> Result<[u8; 32], ProfileRecordError>
Trait Implementations§
Source§impl Clone for ProfileBatchV1
impl Clone for ProfileBatchV1
Source§impl Debug for ProfileBatchV1
impl Debug for ProfileBatchV1
Source§impl<'de> Deserialize<'de> for ProfileBatchV1
impl<'de> Deserialize<'de> for ProfileBatchV1
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 Eq for ProfileBatchV1
Source§impl PartialEq for ProfileBatchV1
impl PartialEq for ProfileBatchV1
Source§impl Serialize for ProfileBatchV1
impl Serialize for ProfileBatchV1
impl StructuralPartialEq for ProfileBatchV1
Auto Trait Implementations§
impl Freeze for ProfileBatchV1
impl RefUnwindSafe for ProfileBatchV1
impl Send for ProfileBatchV1
impl Sync for ProfileBatchV1
impl Unpin for ProfileBatchV1
impl UnsafeUnpin for ProfileBatchV1
impl UnwindSafe for ProfileBatchV1
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