pub struct PriceLevel {
pub kind: PriceLevelKind,
pub price: f64,
pub label: String,
}Expand description
A single, provider-neutral price-level candidate.
Fields§
§kind: PriceLevelKind§price: f64§label: StringHuman-readable qualifier (e.g. a Fibonacci ratio "0.618", or the round increment
"100"). Empty for kinds that need no further qualification.
Trait Implementations§
Source§impl Clone for PriceLevel
impl Clone for PriceLevel
Source§fn clone(&self) -> PriceLevel
fn clone(&self) -> PriceLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PriceLevel
impl Debug for PriceLevel
Source§impl PartialEq for PriceLevel
impl PartialEq for PriceLevel
impl StructuralPartialEq for PriceLevel
Auto Trait Implementations§
impl Freeze for PriceLevel
impl RefUnwindSafe for PriceLevel
impl Send for PriceLevel
impl Sync for PriceLevel
impl Unpin for PriceLevel
impl UnsafeUnpin for PriceLevel
impl UnwindSafe for PriceLevel
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