Struct sentry_core::protocol::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 transaction: 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
transaction: TransactionMetadataTransaction 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<SampleProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SampleProfile, <__D as Deserializer<'de>>::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) -> EnvelopeItem
fn from(profile: SampleProfile) -> EnvelopeItem
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 ==.source§impl Serialize for SampleProfile
impl Serialize for SampleProfile
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SampleProfile
Auto Trait Implementations§
impl RefUnwindSafe for SampleProfile
impl Send for SampleProfile
impl Sync for SampleProfile
impl Unpin for SampleProfile
impl UnwindSafe for SampleProfile
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