Struct aws_sdk_route53domains::types::BillingRecord
source · #[non_exhaustive]pub struct BillingRecord {
pub domain_name: Option<String>,
pub operation: Option<OperationType>,
pub invoice_id: Option<String>,
pub bill_date: Option<DateTime>,
pub price: f64,
}
Expand description
Information for one billing record.
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.domain_name: Option<String>
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
operation: Option<OperationType>
The operation that you were charged for.
invoice_id: Option<String>
The ID of the invoice that is associated with the billing record.
bill_date: Option<DateTime>
The date that the operation was billed, in Unix format.
price: f64
The price that you were charged for the operation, in US dollars.
Example value: 12.0
Implementations§
source§impl BillingRecord
impl BillingRecord
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
sourcepub fn operation(&self) -> Option<&OperationType>
pub fn operation(&self) -> Option<&OperationType>
The operation that you were charged for.
sourcepub fn invoice_id(&self) -> Option<&str>
pub fn invoice_id(&self) -> Option<&str>
The ID of the invoice that is associated with the billing record.
source§impl BillingRecord
impl BillingRecord
sourcepub fn builder() -> BillingRecordBuilder
pub fn builder() -> BillingRecordBuilder
Creates a new builder-style object to manufacture BillingRecord
.
Trait Implementations§
source§impl Clone for BillingRecord
impl Clone for BillingRecord
source§fn clone(&self) -> BillingRecord
fn clone(&self) -> BillingRecord
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BillingRecord
impl Debug for BillingRecord
source§impl PartialEq for BillingRecord
impl PartialEq for BillingRecord
source§fn eq(&self, other: &BillingRecord) -> bool
fn eq(&self, other: &BillingRecord) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BillingRecord
Auto Trait Implementations§
impl Freeze for BillingRecord
impl RefUnwindSafe for BillingRecord
impl Send for BillingRecord
impl Sync for BillingRecord
impl Unpin for BillingRecord
impl UnwindSafe for BillingRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more