[][src]Struct xi_trace::SampleArgs

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

impl PartialEq<SampleArgs> for SampleArgs[src]

impl Clone for SampleArgs[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SampleArgs[src]

impl Serialize for SampleArgs[src]

impl<'de> Deserialize<'de> for SampleArgs[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]