Struct relay_event_schema::protocol::TransactionInfo
source · pub struct TransactionInfo {
pub source: Annotated<TransactionSource>,
pub original: Annotated<String>,
pub changes: Annotated<Vec<Annotated<TransactionNameChange>>>,
pub propagations: Annotated<u64>,
}
Expand description
Additional information about the name of the transaction.
Fields§
§source: Annotated<TransactionSource>
Describes how the name of the transaction was determined.
This will be used by the server to decide whether or not to scrub identifiers from the transaction name, or replace the entire name with a placeholder.
original: Annotated<String>
The unmodified transaction name as obtained by the source.
This value will only be set if the transaction name was modified during event processing.
changes: Annotated<Vec<Annotated<TransactionNameChange>>>
A list of changes prior to the final transaction name.
This list must be empty if the transaction name is set at the beginning of the transaction and never changed. There is no placeholder entry for the initial transaction name.
propagations: Annotated<u64>
The total number of propagations during the transaction.
Trait Implementations§
source§impl Clone for TransactionInfo
impl Clone for TransactionInfo
source§fn clone(&self) -> TransactionInfo
fn clone(&self) -> TransactionInfo
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 TransactionInfo
impl Debug for TransactionInfo
source§impl Default for TransactionInfo
impl Default for TransactionInfo
source§fn default() -> TransactionInfo
fn default() -> TransactionInfo
Returns the “default value” for a type. Read more
source§impl Empty for TransactionInfo
impl Empty for TransactionInfo
source§impl FromValue for TransactionInfo
impl FromValue for TransactionInfo
source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for TransactionInfo
impl IntoValue for TransactionInfo
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl PartialEq for TransactionInfo
impl PartialEq for TransactionInfo
source§impl ProcessValue for TransactionInfo
impl ProcessValue for TransactionInfo
source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for TransactionInfo
Auto Trait Implementations§
impl Freeze for TransactionInfo
impl RefUnwindSafe for TransactionInfo
impl Send for TransactionInfo
impl Sync for TransactionInfo
impl Unpin for TransactionInfo
impl UnwindSafe for TransactionInfo
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
)