#[non_exhaustive]pub enum TransformQuantityRound {
Down,
Up,
Unknown(String),
}Expand description
After division, either round the result up or down.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Down
Up
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for TransformQuantityRound
impl Clone for TransformQuantityRound
Source§fn clone(&self) -> TransformQuantityRound
fn clone(&self) -> TransformQuantityRound
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 TransformQuantityRound
impl Debug for TransformQuantityRound
Source§impl Deserialize for TransformQuantityRound
impl Deserialize for TransformQuantityRound
Source§impl Display for TransformQuantityRound
impl Display for TransformQuantityRound
Source§impl FromStr for TransformQuantityRound
impl FromStr for TransformQuantityRound
Source§impl FromValueOpt for TransformQuantityRound
impl FromValueOpt for TransformQuantityRound
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for TransformQuantityRound
impl PartialEq for TransformQuantityRound
impl Eq for TransformQuantityRound
impl StructuralPartialEq for TransformQuantityRound
Auto Trait Implementations§
impl Freeze for TransformQuantityRound
impl RefUnwindSafe for TransformQuantityRound
impl Send for TransformQuantityRound
impl Sync for TransformQuantityRound
impl Unpin for TransformQuantityRound
impl UnwindSafe for TransformQuantityRound
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