Struct aws_sdk_deadline::types::ResponseBudgetAction
source · #[non_exhaustive]pub struct ResponseBudgetAction {
pub type: BudgetActionType,
pub threshold_percentage: f32,
pub description: Option<String>,
}Expand description
The details of a budget action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: BudgetActionTypeThe action taken on the budget once scheduling stops.
threshold_percentage: f32The percentage threshold for the budget.
description: Option<String>The budget action description.
Implementations§
source§impl ResponseBudgetAction
impl ResponseBudgetAction
sourcepub fn type(&self) -> &BudgetActionType
pub fn type(&self) -> &BudgetActionType
The action taken on the budget once scheduling stops.
sourcepub fn threshold_percentage(&self) -> f32
pub fn threshold_percentage(&self) -> f32
The percentage threshold for the budget.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The budget action description.
source§impl ResponseBudgetAction
impl ResponseBudgetAction
sourcepub fn builder() -> ResponseBudgetActionBuilder
pub fn builder() -> ResponseBudgetActionBuilder
Creates a new builder-style object to manufacture ResponseBudgetAction.
Trait Implementations§
source§impl Clone for ResponseBudgetAction
impl Clone for ResponseBudgetAction
source§fn clone(&self) -> ResponseBudgetAction
fn clone(&self) -> ResponseBudgetAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResponseBudgetAction
impl Debug for ResponseBudgetAction
source§impl PartialEq for ResponseBudgetAction
impl PartialEq for ResponseBudgetAction
source§fn eq(&self, other: &ResponseBudgetAction) -> bool
fn eq(&self, other: &ResponseBudgetAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResponseBudgetAction
Auto Trait Implementations§
impl Freeze for ResponseBudgetAction
impl RefUnwindSafe for ResponseBudgetAction
impl Send for ResponseBudgetAction
impl Sync for ResponseBudgetAction
impl Unpin for ResponseBudgetAction
impl UnwindSafe for ResponseBudgetAction
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.