pub struct EventParams {
pub name: String,
pub customer_id: Option<Uuid>,
pub metadata: HashMap<String, String>,
pub timestamp: DateTime<Utc>,
pub organization_id: Option<Uuid>,
}Fields§
§name: StringThe name of the event.
customer_id: Option<Uuid>ID of the customer in your Polar organization associated with the event.
metadata: HashMap<String, String>Key-value object allowing you to store additional information.
timestamp: DateTime<Utc>The timestamp of the event.
organization_id: Option<Uuid>The ID of the organization owning the event. Required unless you use an organization token.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventParams
impl RefUnwindSafe for EventParams
impl Send for EventParams
impl Sync for EventParams
impl Unpin for EventParams
impl UnwindSafe for EventParams
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