Struct IndexEntry
pub struct IndexEntry {
pub kind: &'static str,
pub name: &'static str,
pub code: &'static str,
pub make: fn() -> AnyIndex,
}Expand description
One registry row: the index’s kind tag, accessor name, code, and constructor.
Fields§
§kind: &'static strKind tag ("Overnight" / "Ibor" / "Fx").
name: &'static strAccessor name (e.g. "usd_sofr").
code: &'static strResolution code (e.g. "USD-SOFR").
make: fn() -> AnyIndexConstructs the index, wrapped in its AnyIndex.
Auto Trait Implementations§
impl Freeze for IndexEntry
impl RefUnwindSafe for IndexEntry
impl Send for IndexEntry
impl Sync for IndexEntry
impl Unpin for IndexEntry
impl UnsafeUnpin for IndexEntry
impl UnwindSafe for IndexEntry
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