#[non_exhaustive]
pub struct CampaignDateRangeKpiResponse { pub application_id: Option<String>, pub campaign_id: Option<String>, pub end_time: Option<DateTime>, pub kpi_name: Option<String>, pub kpi_result: Option<BaseKpiResult>, pub next_token: Option<String>, pub start_time: Option<DateTime>, }
Expand description

Provides the results of a query that retrieved the data for a standard metric that applies to a campaign, and provides information about that query.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
application_id: Option<String>

The unique identifier for the application that the metric applies to.

campaign_id: Option<String>

The unique identifier for the campaign that the metric applies to.

end_time: Option<DateTime>

The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

kpi_name: Option<String>

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.

kpi_result: Option<BaseKpiResult>

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

next_token: Option<String>

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource because the resource returns all results in a single page.

start_time: Option<DateTime>

The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

Implementations

The unique identifier for the application that the metric applies to.

The unique identifier for the campaign that the metric applies to.

The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource because the resource returns all results in a single page.

The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

Creates a new builder-style object to manufacture CampaignDateRangeKpiResponse

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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