pub enum Rent {
Ladder {
cadence: &'static str,
default: f64,
rungs: Vec<Rung>,
no_rate: bool,
},
Band {
cadence: &'static str,
default: f64,
min: f64,
max: f64,
step: f64,
no_rate: bool,
},
}Expand description
How the player prices a kind: a ladder of fixed rungs (Classic) or a continuous band (Modern).
Variants§
Ladder
Four rungs plus the No Rate off-market state.
Fields
Band
Any price from min to max in steps of step.
Fields
Trait Implementations§
impl StructuralPartialEq for Rent
Auto Trait Implementations§
impl Freeze for Rent
impl RefUnwindSafe for Rent
impl Send for Rent
impl Sync for Rent
impl Unpin for Rent
impl UnsafeUnpin for Rent
impl UnwindSafe for Rent
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