#[non_exhaustive]pub struct GetCostEstimateInput {
pub resource_name: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
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.resource_name: Option<String>
The resource name.
start_time: Option<DateTime>
The cost estimate start time.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify
1538424000
as the start time.
You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
end_time: Option<DateTime>
The cost estimate end time.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify
1538427600
as the end time.
You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
Implementations§
source§impl GetCostEstimateInput
impl GetCostEstimateInput
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The resource name.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The cost estimate start time.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify
1538424000
as the start time.
You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The cost estimate end time.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify
1538427600
as the end time.
You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
source§impl GetCostEstimateInput
impl GetCostEstimateInput
sourcepub fn builder() -> GetCostEstimateInputBuilder
pub fn builder() -> GetCostEstimateInputBuilder
Creates a new builder-style object to manufacture GetCostEstimateInput
.
Trait Implementations§
source§impl Clone for GetCostEstimateInput
impl Clone for GetCostEstimateInput
source§fn clone(&self) -> GetCostEstimateInput
fn clone(&self) -> GetCostEstimateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCostEstimateInput
impl Debug for GetCostEstimateInput
source§impl PartialEq for GetCostEstimateInput
impl PartialEq for GetCostEstimateInput
source§fn eq(&self, other: &GetCostEstimateInput) -> bool
fn eq(&self, other: &GetCostEstimateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetCostEstimateInput
Auto Trait Implementations§
impl Freeze for GetCostEstimateInput
impl RefUnwindSafe for GetCostEstimateInput
impl Send for GetCostEstimateInput
impl Sync for GetCostEstimateInput
impl Unpin for GetCostEstimateInput
impl UnwindSafe for GetCostEstimateInput
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