Struct aws_sdk_deadline::operation::get_budget::GetBudgetOutput
source · #[non_exhaustive]pub struct GetBudgetOutput {Show 14 fields
pub budget_id: String,
pub usage_tracking_resource: Option<UsageTrackingResource>,
pub status: BudgetStatus,
pub display_name: String,
pub description: Option<String>,
pub approximate_dollar_limit: f32,
pub usages: Option<ConsumedUsages>,
pub actions: Vec<ResponseBudgetAction>,
pub schedule: Option<BudgetSchedule>,
pub created_by: String,
pub created_at: DateTime,
pub updated_by: Option<String>,
pub updated_at: Option<DateTime>,
pub queue_stopped_at: Option<DateTime>,
/* private fields */
}
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.budget_id: String
The budget ID.
usage_tracking_resource: Option<UsageTrackingResource>
The resource that the budget is tracking usage for.
status: BudgetStatus
The status of the budget.
-
ACTIVE
–Get a budget being evaluated. -
INACTIVE
–Get an inactive budget. This can include expired, canceled, or deleted statuses.
display_name: String
The display name of the budget.
description: Option<String>
The description of the budget.
approximate_dollar_limit: f32
The consumed usage limit for the budget.
usages: Option<ConsumedUsages>
The usages of the budget.
actions: Vec<ResponseBudgetAction>
The budget actions for the budget.
schedule: Option<BudgetSchedule>
The budget schedule.
created_by: String
The user or system that created this resource.
created_at: DateTime
The date and time the resource was created.
updated_by: Option<String>
The user or system that updated this resource.
updated_at: Option<DateTime>
The date and time the resource was updated.
queue_stopped_at: Option<DateTime>
The date and time the queue stopped.
Implementations§
source§impl GetBudgetOutput
impl GetBudgetOutput
sourcepub fn usage_tracking_resource(&self) -> Option<&UsageTrackingResource>
pub fn usage_tracking_resource(&self) -> Option<&UsageTrackingResource>
The resource that the budget is tracking usage for.
sourcepub fn status(&self) -> &BudgetStatus
pub fn status(&self) -> &BudgetStatus
The status of the budget.
-
ACTIVE
–Get a budget being evaluated. -
INACTIVE
–Get an inactive budget. This can include expired, canceled, or deleted statuses.
sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
The display name of the budget.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the budget.
sourcepub fn approximate_dollar_limit(&self) -> f32
pub fn approximate_dollar_limit(&self) -> f32
The consumed usage limit for the budget.
sourcepub fn usages(&self) -> Option<&ConsumedUsages>
pub fn usages(&self) -> Option<&ConsumedUsages>
The usages of the budget.
sourcepub fn actions(&self) -> &[ResponseBudgetAction]
pub fn actions(&self) -> &[ResponseBudgetAction]
The budget actions for the budget.
sourcepub fn schedule(&self) -> Option<&BudgetSchedule>
pub fn schedule(&self) -> Option<&BudgetSchedule>
The budget schedule.
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The user or system that created this resource.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time the resource was created.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user or system that updated this resource.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the resource was updated.
sourcepub fn queue_stopped_at(&self) -> Option<&DateTime>
pub fn queue_stopped_at(&self) -> Option<&DateTime>
The date and time the queue stopped.
source§impl GetBudgetOutput
impl GetBudgetOutput
sourcepub fn builder() -> GetBudgetOutputBuilder
pub fn builder() -> GetBudgetOutputBuilder
Creates a new builder-style object to manufacture GetBudgetOutput
.
Trait Implementations§
source§impl Clone for GetBudgetOutput
impl Clone for GetBudgetOutput
source§fn clone(&self) -> GetBudgetOutput
fn clone(&self) -> GetBudgetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetBudgetOutput
impl Debug for GetBudgetOutput
source§impl PartialEq for GetBudgetOutput
impl PartialEq for GetBudgetOutput
source§fn eq(&self, other: &GetBudgetOutput) -> bool
fn eq(&self, other: &GetBudgetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetBudgetOutput
impl RequestId for GetBudgetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.