Struct UnknownIndexError
pub struct UnknownIndexError {
pub index: String,
pub known: Vec<String>,
}Expand description
The detail behind CurveError::UnknownIndex.
Fields§
§index: StringThe code asked for.
known: Vec<String>The registered rate-index codes a swap can be built on.
Trait Implementations§
§impl Clone for UnknownIndexError
impl Clone for UnknownIndexError
§fn clone(&self) -> UnknownIndexError
fn clone(&self) -> UnknownIndexError
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 more§impl Debug for UnknownIndexError
impl Debug for UnknownIndexError
impl Eq for UnknownIndexError
§impl PartialEq for UnknownIndexError
impl PartialEq for UnknownIndexError
§fn eq(&self, other: &UnknownIndexError) -> bool
fn eq(&self, other: &UnknownIndexError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnknownIndexError
Auto Trait Implementations§
impl Freeze for UnknownIndexError
impl RefUnwindSafe for UnknownIndexError
impl Send for UnknownIndexError
impl Sync for UnknownIndexError
impl Unpin for UnknownIndexError
impl UnsafeUnpin for UnknownIndexError
impl UnwindSafe for UnknownIndexError
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