pub struct Rung {
pub level: i64,
pub label: &'static str,
pub value: f64,
}Expand description
One rung of a price ladder.
Fields§
§level: i640 (Very Low) to 3 (High).
label: &'static strVery Low, Low, Average or High.
value: f64The price.
Trait Implementations§
impl StructuralPartialEq for Rung
Auto Trait Implementations§
impl Freeze for Rung
impl RefUnwindSafe for Rung
impl Send for Rung
impl Sync for Rung
impl Unpin for Rung
impl UnsafeUnpin for Rung
impl UnwindSafe for Rung
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