pub struct TransactionData<'a>(/* private fields */);
Expand description
Iterable for a transaction’s data attributes.
Implementations§
Source§impl<'a> TransactionData<'a>
impl<'a> TransactionData<'a>
Sourcepub fn iter(&self) -> Box<dyn Iterator<Item = (&String, &Value)> + '_>
pub fn iter(&self) -> Box<dyn Iterator<Item = (&String, &Value)> + '_>
Iterate over the data attributes associated with this transaction.
If the transaction is not sampled for sending, the metadata will not be populated at all, so the produced iterator is empty.
Auto Trait Implementations§
impl<'a> Freeze for TransactionData<'a>
impl<'a> RefUnwindSafe for TransactionData<'a>
impl<'a> !Send for TransactionData<'a>
impl<'a> Sync for TransactionData<'a>
impl<'a> Unpin for TransactionData<'a>
impl<'a> UnwindSafe for TransactionData<'a>
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