pub struct OnSuccessEvent {
pub session_id: String,
pub action_type: String,
pub action_summary: String,
pub duration_ms: u64,
}Expand description
On-success event payload (mirrors OnError for success)
Fields§
§session_id: StringSession ID
action_type: StringAction type that succeeded
action_summary: StringSummary of the successful action
duration_ms: u64Duration in milliseconds
Trait Implementations§
Source§impl Clone for OnSuccessEvent
impl Clone for OnSuccessEvent
Source§fn clone(&self) -> OnSuccessEvent
fn clone(&self) -> OnSuccessEvent
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 OnSuccessEvent
impl Debug for OnSuccessEvent
Source§impl<'de> Deserialize<'de> for OnSuccessEvent
impl<'de> Deserialize<'de> for OnSuccessEvent
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 OnSuccessEvent
impl RefUnwindSafe for OnSuccessEvent
impl Send for OnSuccessEvent
impl Sync for OnSuccessEvent
impl Unpin for OnSuccessEvent
impl UnsafeUnpin for OnSuccessEvent
impl UnwindSafe for OnSuccessEvent
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