Struct ProjectionTopologyEntry
pub struct ProjectionTopologyEntry {
pub index: String,
pub kind: ProjectionKind,
}Expand description
One projection index paired with how it is sourced — an entry of a recipe’s
projection_topology.
Fields§
§index: StringThe projection index name.
kind: ProjectionKindWhether the index telescopes onto discount or has its own forward curve.
Trait Implementations§
§impl Clone for ProjectionTopologyEntry
impl Clone for ProjectionTopologyEntry
§fn clone(&self) -> ProjectionTopologyEntry
fn clone(&self) -> ProjectionTopologyEntry
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 ProjectionTopologyEntry
impl Debug for ProjectionTopologyEntry
impl Eq for ProjectionTopologyEntry
§impl PartialEq for ProjectionTopologyEntry
impl PartialEq for ProjectionTopologyEntry
§fn eq(&self, other: &ProjectionTopologyEntry) -> bool
fn eq(&self, other: &ProjectionTopologyEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectionTopologyEntry
Auto Trait Implementations§
impl Freeze for ProjectionTopologyEntry
impl RefUnwindSafe for ProjectionTopologyEntry
impl Send for ProjectionTopologyEntry
impl Sync for ProjectionTopologyEntry
impl Unpin for ProjectionTopologyEntry
impl UnsafeUnpin for ProjectionTopologyEntry
impl UnwindSafe for ProjectionTopologyEntry
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