pub struct ProductEvent {
pub name: String,
pub values: Vec<String>,
pub file: PathBuf,
pub line: usize,
}Expand description
product_event!(order.placed, order.total): its name and the values it records, as written.
Fields§
§name: String§values: Vec<String>§file: PathBuf§line: usizeTrait Implementations§
Source§impl Clone for ProductEvent
impl Clone for ProductEvent
Source§impl Debug for ProductEvent
impl Debug for ProductEvent
impl Eq for ProductEvent
Source§impl PartialEq for ProductEvent
impl PartialEq for ProductEvent
impl StructuralPartialEq for ProductEvent
Auto Trait Implementations§
impl Forget for ProductEvent
impl Freeze for ProductEvent
impl RefUnwindSafe for ProductEvent
impl Send for ProductEvent
impl Sync for ProductEvent
impl Unpin for ProductEvent
impl UnsafeUnpin for ProductEvent
impl UnwindSafe for ProductEvent
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