pub struct BehaviorEvent {
pub timestamp: DateTime<Utc>,
pub event_type: BehaviorEventType,
pub data: HashMap<String, Value>,
}Expand description
Behavior event for a persona
Fields§
§timestamp: DateTime<Utc>Event timestamp
event_type: BehaviorEventTypeEvent type
data: HashMap<String, Value>Event data
Trait Implementations§
Source§impl Clone for BehaviorEvent
impl Clone for BehaviorEvent
Source§fn clone(&self) -> BehaviorEvent
fn clone(&self) -> BehaviorEvent
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 moreAuto Trait Implementations§
impl Freeze for BehaviorEvent
impl RefUnwindSafe for BehaviorEvent
impl Send for BehaviorEvent
impl Sync for BehaviorEvent
impl Unpin for BehaviorEvent
impl UnwindSafe for BehaviorEvent
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