pub struct CreatePlanTransformUsage {
pub divide_by: i64,
pub round: CreatePlanTransformUsageRound,
}
Expand description
Apply a transformation to the reported usage or set quantity before computing the billed price.
Cannot be combined with tiers
.
Fields§
§divide_by: i64
Divide usage by this number.
round: CreatePlanTransformUsageRound
After division, either round the result up
or down
.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePlanTransformUsage
impl Clone for CreatePlanTransformUsage
Source§fn clone(&self) -> CreatePlanTransformUsage
fn clone(&self) -> CreatePlanTransformUsage
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 CreatePlanTransformUsage
impl Debug for CreatePlanTransformUsage
Source§impl Serialize for CreatePlanTransformUsage
impl Serialize for CreatePlanTransformUsage
impl Copy for CreatePlanTransformUsage
Auto Trait Implementations§
impl Freeze for CreatePlanTransformUsage
impl RefUnwindSafe for CreatePlanTransformUsage
impl Send for CreatePlanTransformUsage
impl Sync for CreatePlanTransformUsage
impl Unpin for CreatePlanTransformUsage
impl UnwindSafe for CreatePlanTransformUsage
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