pub struct TransformUsage {
pub divide_by: i64,
pub round: TransformUsageRound,
}
Fields§
§divide_by: i64
Divide usage by this number.
round: TransformUsageRound
After division, either round the result up
or down
.
Trait Implementations§
Source§impl Clone for TransformUsage
impl Clone for TransformUsage
Source§fn clone(&self) -> TransformUsage
fn clone(&self) -> TransformUsage
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 TransformUsage
impl Debug for TransformUsage
Source§impl Deserialize for TransformUsage
impl Deserialize for TransformUsage
Source§impl FromValueOpt for TransformUsage
impl FromValueOpt for TransformUsage
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for TransformUsage
impl ObjectDeser for TransformUsage
impl Copy for TransformUsage
Auto Trait Implementations§
impl Freeze for TransformUsage
impl RefUnwindSafe for TransformUsage
impl Send for TransformUsage
impl Sync for TransformUsage
impl Unpin for TransformUsage
impl UnwindSafe for TransformUsage
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