Struct stripe::CreatePriceTransformQuantity
source · pub struct CreatePriceTransformQuantity {
pub divide_by: i64,
pub round: CreatePriceTransformQuantityRound,
}
Fields§
§divide_by: i64
Divide usage by this number.
round: CreatePriceTransformQuantityRound
After division, either round the result up
or down
.
Trait Implementations§
source§impl Clone for CreatePriceTransformQuantity
impl Clone for CreatePriceTransformQuantity
source§fn clone(&self) -> CreatePriceTransformQuantity
fn clone(&self) -> CreatePriceTransformQuantity
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 CreatePriceTransformQuantity
impl Debug for CreatePriceTransformQuantity
source§impl Default for CreatePriceTransformQuantity
impl Default for CreatePriceTransformQuantity
source§fn default() -> CreatePriceTransformQuantity
fn default() -> CreatePriceTransformQuantity
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePriceTransformQuantity
impl<'de> Deserialize<'de> for CreatePriceTransformQuantity
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 CreatePriceTransformQuantity
impl RefUnwindSafe for CreatePriceTransformQuantity
impl Send for CreatePriceTransformQuantity
impl Sync for CreatePriceTransformQuantity
impl Unpin for CreatePriceTransformQuantity
impl UnwindSafe for CreatePriceTransformQuantity
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