pub struct BeforeEvent {
pub call_id: String,
pub start_time: f64,
pub class: String,
pub method: String,
pub params: Value,
pub title: Option<String>,
pub page_id: Option<String>,
pub before_snapshot: Option<String>,
pub step_id: Option<String>,
pub parent_id: Option<String>,
}Expand description
Action-start event. Pairs with a matching AfterEvent sharing
call_id.
Fields§
§call_id: String§start_time: f64§class: String§method: String§params: Value§title: Option<String>§page_id: Option<String>§before_snapshot: Option<String>§step_id: Option<String>§parent_id: Option<String>Trait Implementations§
Source§impl Clone for BeforeEvent
impl Clone for BeforeEvent
Source§fn clone(&self) -> BeforeEvent
fn clone(&self) -> BeforeEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BeforeEvent
impl Debug for BeforeEvent
Source§impl<'de> Deserialize<'de> for BeforeEvent
impl<'de> Deserialize<'de> for BeforeEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BeforeEvent
impl RefUnwindSafe for BeforeEvent
impl Send for BeforeEvent
impl Sync for BeforeEvent
impl Unpin for BeforeEvent
impl UnsafeUnpin for BeforeEvent
impl UnwindSafe for BeforeEvent
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