[−][src]Struct rusoto_meteringmarketplace::UsageRecordResult
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
impl Default for UsageRecordResult
[src]
fn default() -> UsageRecordResult
[src]
impl Clone for UsageRecordResult
[src]
fn clone(&self) -> UsageRecordResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<UsageRecordResult> for UsageRecordResult
[src]
fn eq(&self, other: &UsageRecordResult) -> bool
[src]
fn ne(&self, other: &UsageRecordResult) -> bool
[src]
impl Debug for UsageRecordResult
[src]
impl<'de> Deserialize<'de> for UsageRecordResult
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for UsageRecordResult
impl Sync for UsageRecordResult
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self