pub struct TransactionData<'a>(/* private fields */);
Expand description
Iterable for a transaction’s extra
field.
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 extra
map
of the transaction.
If the transaction 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