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