pub struct UpdateProjectSpendLimitBody {
pub threshold_amount: i64,
pub currency: UpdateProjectSpendLimitBodyCurrency,
pub interval: UpdateProjectSpendLimitBodyInterval,
}Available on crate feature
administration-types only.Expand description
Parameters for the hard spend limit you want to create or replace.
Fields§
§threshold_amount: i64The hard spend limit amount, in cents.
currency: UpdateProjectSpendLimitBodyCurrencyThe currency for the threshold amount. Currently, only USD is supported.
interval: UpdateProjectSpendLimitBodyIntervalThe time interval for evaluating spend against the threshold. Currently, only month is supported.
Trait Implementations§
Source§impl Clone for UpdateProjectSpendLimitBody
impl Clone for UpdateProjectSpendLimitBody
Source§fn clone(&self) -> UpdateProjectSpendLimitBody
fn clone(&self) -> UpdateProjectSpendLimitBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateProjectSpendLimitBody
impl Debug for UpdateProjectSpendLimitBody
Source§impl<'de> Deserialize<'de> for UpdateProjectSpendLimitBody
impl<'de> Deserialize<'de> for UpdateProjectSpendLimitBody
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 StructuralPartialEq for UpdateProjectSpendLimitBody
Auto Trait Implementations§
impl Freeze for UpdateProjectSpendLimitBody
impl RefUnwindSafe for UpdateProjectSpendLimitBody
impl Send for UpdateProjectSpendLimitBody
impl Sync for UpdateProjectSpendLimitBody
impl Unpin for UpdateProjectSpendLimitBody
impl UnsafeUnpin for UpdateProjectSpendLimitBody
impl UnwindSafe for UpdateProjectSpendLimitBody
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