Struct aws_sdk_pinpoint::model::Event
source · [−]#[non_exhaustive]pub struct Event {
pub app_package_name: Option<String>,
pub app_title: Option<String>,
pub app_version_code: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub client_sdk_version: Option<String>,
pub event_type: Option<String>,
pub metrics: Option<HashMap<String, f64>>,
pub sdk_name: Option<String>,
pub session: Option<Session>,
pub timestamp: Option<String>,
}
Expand description
Specifies information about an event that reports data to Amazon Pinpoint.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.app_package_name: Option<String>
The package name of the app that's recording the event.
app_title: Option<String>
The title of the app that's recording the event.
app_version_code: Option<String>
The version number of the app that's recording the event.
attributes: Option<HashMap<String, String>>
One or more custom attributes that are associated with the event.
client_sdk_version: Option<String>
The version of the SDK that's running on the client device.
event_type: Option<String>
The name of the event.
metrics: Option<HashMap<String, f64>>
One or more custom metrics that are associated with the event.
sdk_name: Option<String>
The name of the SDK that's being used to record the event.
session: Option<Session>
Information about the session in which the event occurred.
timestamp: Option<String>
The date and time, in ISO 8601 format, when the event occurred.
Implementations
The package name of the app that's recording the event.
The version number of the app that's recording the event.
One or more custom attributes that are associated with the event.
The version of the SDK that's running on the client device.
The name of the event.
One or more custom metrics that are associated with the event.
The name of the SDK that's being used to record the event.
Information about the session in which the event occurred.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more