[][src]Struct rusoto_meteringmarketplace::UsageRecordResult

pub struct UsageRecordResult {
    pub metering_record_id: Option<String>,
    pub status: Option<String>,
    pub usage_record: Option<UsageRecord>,

A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.


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

impl Clone for UsageRecordResult[src]

impl Debug for UsageRecordResult[src]

impl Default for UsageRecordResult[src]

impl<'de> Deserialize<'de> for UsageRecordResult[src]

impl PartialEq<UsageRecordResult> for UsageRecordResult[src]

impl StructuralPartialEq for UsageRecordResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.