Struct MissingFxRateError
#[repr(transparent)]pub struct MissingFxRateError(pub(crate) PyAny);Expand description
No FX rate was supplied for the pair; kind and key name it as MarketContext.contents() lists it.
Tuple Fields§
§0: PyAnyImplementations§
§impl MissingFxRateError
impl MissingFxRateError
§impl MissingFxRateError
impl MissingFxRateError
pub(crate) fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Trait Implementations§
§impl AsRef<PyAny> for MissingFxRateError
impl AsRef<PyAny> for MissingFxRateError
§impl Deref for MissingFxRateError
impl Deref for MissingFxRateError
impl DerefToPyAny for MissingFxRateError
§impl PyTypeInfo for MissingFxRateError
impl PyTypeInfo for MissingFxRateError
§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type or a subclass of this type.§fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type.impl ToPyErr for MissingFxRateError
Auto Trait Implementations§
impl !Freeze for MissingFxRateError
impl !RefUnwindSafe for MissingFxRateError
impl !Send for MissingFxRateError
impl !Sync for MissingFxRateError
impl Unpin for MissingFxRateError
impl UnsafeUnpin for MissingFxRateError
impl UnwindSafe for MissingFxRateError
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