pub struct SampleArgs {
pub payload: Option<TracePayloadT>,
pub metadata_name: Option<StrCow>,
pub metadata_sort_index: Option<i32>,
}Fields§
§payload: Option<TracePayloadT>An arbitrary payload to associate with the sample. The type is controlled by features (default string).
metadata_name: Option<StrCow>The name to associate with the pid/tid. Whether it’s associated with the pid or the tid depends on the name of the event via process_name/thread_name respectively.
metadata_sort_index: Option<i32>Sorting priority between processes/threads in the view.
Trait Implementations§
Source§impl Clone for SampleArgs
impl Clone for SampleArgs
Source§fn clone(&self) -> SampleArgs
fn clone(&self) -> SampleArgs
Returns a duplicate 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 SampleArgs
impl Debug for SampleArgs
Source§impl<'de> Deserialize<'de> for SampleArgs
impl<'de> Deserialize<'de> for SampleArgs
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 PartialEq for SampleArgs
impl PartialEq for SampleArgs
Source§impl Serialize for SampleArgs
impl Serialize for SampleArgs
impl StructuralPartialEq for SampleArgs
Auto Trait Implementations§
impl Freeze for SampleArgs
impl RefUnwindSafe for SampleArgs
impl Send for SampleArgs
impl Sync for SampleArgs
impl Unpin for SampleArgs
impl UnwindSafe for SampleArgs
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