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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)