Enum BudgetWarningPeriod
pub enum BudgetWarningPeriod {
Day,
Month,
}Expand description
The cost-limit period a TurnEvent::BudgetWarning refers to.
Variants§
Trait Implementations§
Source§impl Clone for BudgetWarningPeriod
impl Clone for BudgetWarningPeriod
Source§fn clone(&self) -> BudgetWarningPeriod
fn clone(&self) -> BudgetWarningPeriod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BudgetWarningPeriod
Source§impl Debug for BudgetWarningPeriod
impl Debug for BudgetWarningPeriod
Source§impl<'de> Deserialize<'de> for BudgetWarningPeriod
impl<'de> Deserialize<'de> for BudgetWarningPeriod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BudgetWarningPeriod
Source§impl PartialEq for BudgetWarningPeriod
impl PartialEq for BudgetWarningPeriod
Source§impl Serialize for BudgetWarningPeriod
impl Serialize for BudgetWarningPeriod
impl StructuralPartialEq for BudgetWarningPeriod
Auto Trait Implementations§
impl Freeze for BudgetWarningPeriod
impl RefUnwindSafe for BudgetWarningPeriod
impl Send for BudgetWarningPeriod
impl Sync for BudgetWarningPeriod
impl Unpin for BudgetWarningPeriod
impl UnsafeUnpin for BudgetWarningPeriod
impl UnwindSafe for BudgetWarningPeriod
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