Struct sentry_types::protocol::v7::SampleProfile
source · pub struct SampleProfile {
pub version: Version,
pub debug_meta: Option<DebugMeta>,
pub device: DeviceMetadata,
pub os: OSMetadata,
pub runtime: Option<RuntimeMetadata>,
pub environment: String,
pub event_id: Uuid,
pub platform: String,
pub profile: Profile,
pub release: String,
pub timestamp: SystemTime,
pub transactions: Vec<TransactionMetadata>,
}Expand description
Represents a Profile Envelope ItemType
Fields§
§version: VersionFormat version of the SampleProfile
debug_meta: Option<DebugMeta>Debug meta information
device: DeviceMetadataDevice metadata information
os: OSMetadataOS metadata information
runtime: Option<RuntimeMetadata>Runtime metadata information
environment: StringEnvironment
event_id: UuidEvent ID or Profile ID
platform: StringPlatform
profile: ProfileCollected profile
release: StringRelease
timestamp: SystemTimeTimestamp at which the profiler started
transactions: Vec<TransactionMetadata>List of transactions associated with this profile
Trait Implementations§
source§impl Clone for SampleProfile
impl Clone for SampleProfile
source§fn clone(&self) -> SampleProfile
fn clone(&self) -> SampleProfile
Returns a copy 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 SampleProfile
impl Debug for SampleProfile
source§impl<'de> Deserialize<'de> for SampleProfile
impl<'de> Deserialize<'de> for SampleProfile
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
source§impl From<SampleProfile> for EnvelopeItem
impl From<SampleProfile> for EnvelopeItem
source§fn from(profile: SampleProfile) -> Self
fn from(profile: SampleProfile) -> Self
Converts to this type from the input type.
source§impl PartialEq<SampleProfile> for SampleProfile
impl PartialEq<SampleProfile> for SampleProfile
source§fn eq(&self, other: &SampleProfile) -> bool
fn eq(&self, other: &SampleProfile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.