pub enum GreekStatus {
Available,
NotRequested,
Unsupported,
Undefined,
StencilUnavailable,
}Expand description
Describes whether a sensitivity was requested and could be calculated.
See PricingResult::status for a request-inspection example.
Variants§
Available
Records a finite sensitivity value.
NotRequested
Records a measure omitted from the request.
Unsupported
Records a requested measure outside the engine/model’s supported set.
Undefined
Records a derivative undefined at this valuation; see PricingResult::status.
Records an unavailable numerical stencil; changing controls may recover the measure.
Implementations§
Source§impl GreekStatus
impl GreekStatus
Sourcepub const fn name(self) -> &'static str
pub const fn name(self) -> &'static str
Returns the Python status choice string; see PricingResult::status.
Trait Implementations§
Source§impl Clone for GreekStatus
impl Clone for GreekStatus
impl Copy for GreekStatus
Source§impl Debug for GreekStatus
impl Debug for GreekStatus
impl Eq for GreekStatus
Source§impl PartialEq for GreekStatus
impl PartialEq for GreekStatus
impl StructuralPartialEq for GreekStatus
Auto Trait Implementations§
impl Freeze for GreekStatus
impl RefUnwindSafe for GreekStatus
impl Send for GreekStatus
impl Sync for GreekStatus
impl Unpin for GreekStatus
impl UnsafeUnpin for GreekStatus
impl UnwindSafe for GreekStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more