Struct Request
pub struct Request {
pub measure: Measure,
pub preset_default: Option<Scale>,
}Expand description
A measure as a report is asked for it: the measure, and the default scale of the preset it was asked through, if it was.
The default follows the route, not the point. PAR_LADDER asked by name
reports per basis point; the same point spelled delta:rate:par:ladder
reports per unit, as it always has — a spelling alone never silently changes
the number it names.
Fields§
§measure: MeasureWhat is measured.
preset_default: Option<Scale>The scale the preset it was asked through defaults to.
Implementations§
Trait Implementations§
impl Copy for Request
impl Eq for Request
§impl FromStr for Request
A preset’s name asks through the preset; anything else is a measure’s
spelling.
impl FromStr for Request
A preset’s name asks through the preset; anything else is a measure’s spelling.
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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