pub struct TransactionViewWithType {
pub transaction: TransactionView,
pub resource_type: Option<String>,
}Expand description
Transaction plus optional resource type.
Fields§
§transaction: TransactionViewTransaction used by the classifier.
resource_type: Option<String>Resource type (document/script/xhr/etc.) if present in HAR.
Implementations§
Trait Implementations§
Source§impl Clone for TransactionViewWithType
impl Clone for TransactionViewWithType
Source§fn clone(&self) -> TransactionViewWithType
fn clone(&self) -> TransactionViewWithType
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 TransactionViewWithType
impl Debug for TransactionViewWithType
Source§impl From<TransactionViewWithType> for TransactionView
impl From<TransactionViewWithType> for TransactionView
Source§fn from(value: TransactionViewWithType) -> Self
fn from(value: TransactionViewWithType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionViewWithType
impl RefUnwindSafe for TransactionViewWithType
impl Send for TransactionViewWithType
impl Sync for TransactionViewWithType
impl Unpin for TransactionViewWithType
impl UnsafeUnpin for TransactionViewWithType
impl UnwindSafe for TransactionViewWithType
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