Struct rusoto_meteringmarketplace::UsageRecordResult [−][src]
pub struct UsageRecordResult { pub metering_record_id: Option<String>, pub status: Option<String>, pub usage_record: Option<UsageRecord>, }
Expand description
A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.
Fields
metering_record_id: Option<String>
The MeteringRecordId is a unique identifier for this metering event.
status: Option<String>
The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.
-
Success- The UsageRecord was accepted and honored by BatchMeterUsage.
-
CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.
-
DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
usage_record: Option<UsageRecord>
The UsageRecord that was part of the BatchMeterUsage request.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UsageRecordResult
impl Send for UsageRecordResult
impl Sync for UsageRecordResult
impl Unpin for UsageRecordResult
impl UnwindSafe for UsageRecordResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self