Struct sentry::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>,
}
Expand description
Represents a Profile Envelope ItemType
Fields§
§version: Version
Format version of the SampleProfile
debug_meta: Option<DebugMeta>
Debug meta information
device: DeviceMetadata
Device metadata information
os: OSMetadata
OS metadata information
runtime: Option<RuntimeMetadata>
Runtime metadata information
environment: String
Environment
event_id: Uuid
Event ID or Profile ID
platform: String
Platform
profile: Profile
Collected profile
release: String
Release
timestamp: SystemTime
Timestamp 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<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 for SampleProfile
impl PartialEq for SampleProfile
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 Freeze for SampleProfile
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)