pub struct CostConstraint {
pub resource: String,
pub budget: f64,
pub spent: f64,
pub currency: String,
}Fields§
§resource: String§budget: f64§spent: f64§currency: StringTrait Implementations§
Source§impl Clone for CostConstraint
impl Clone for CostConstraint
Source§fn clone(&self) -> CostConstraint
fn clone(&self) -> CostConstraint
Returns a duplicate 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 CostConstraint
impl Debug for CostConstraint
Source§impl<'de> Deserialize<'de> for CostConstraint
impl<'de> Deserialize<'de> for CostConstraint
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
Auto Trait Implementations§
impl Freeze for CostConstraint
impl RefUnwindSafe for CostConstraint
impl Send for CostConstraint
impl Sync for CostConstraint
impl Unpin for CostConstraint
impl UnsafeUnpin for CostConstraint
impl UnwindSafe for CostConstraint
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