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 transactions: Vec<TransactionMetadata, Global>,
}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, Global>List of transactions associated with this profile
Trait Implementations
sourceimpl Clone for SampleProfile
impl Clone for SampleProfile
sourcefn clone(&self) -> SampleProfile
fn clone(&self) -> SampleProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SampleProfile
impl Debug for SampleProfile
sourceimpl<'de> Deserialize<'de> for SampleProfile
impl<'de> Deserialize<'de> for SampleProfile
sourcefn 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
sourceimpl From<SampleProfile> for EnvelopeItem
impl From<SampleProfile> for EnvelopeItem
sourcefn from(profile: SampleProfile) -> EnvelopeItem
fn from(profile: SampleProfile) -> EnvelopeItem
Converts to this type from the input type.
sourceimpl PartialEq<SampleProfile> for SampleProfile
impl PartialEq<SampleProfile> for SampleProfile
sourcefn eq(&self, other: &SampleProfile) -> bool
fn eq(&self, other: &SampleProfile) -> bool
sourceimpl Serialize for SampleProfile
impl Serialize for SampleProfile
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more