pub struct CorrelationGroup {
pub id: String,
pub symbols: BTreeSet<String>,
}Expand description
Symbols the owner declares to be one bet, so a cap can bound their combined risk.
Fields§
§id: String§symbols: BTreeSet<String>Trait Implementations§
Source§impl Clone for CorrelationGroup
impl Clone for CorrelationGroup
Source§impl Debug for CorrelationGroup
impl Debug for CorrelationGroup
Source§impl<'de> Deserialize<'de> for CorrelationGroup
impl<'de> Deserialize<'de> for CorrelationGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CorrelationGroup
Source§impl PartialEq for CorrelationGroup
impl PartialEq for CorrelationGroup
Source§impl Serialize for CorrelationGroup
impl Serialize for CorrelationGroup
impl StructuralPartialEq for CorrelationGroup
Auto Trait Implementations§
impl Freeze for CorrelationGroup
impl RefUnwindSafe for CorrelationGroup
impl Send for CorrelationGroup
impl Sync for CorrelationGroup
impl Unpin for CorrelationGroup
impl UnsafeUnpin for CorrelationGroup
impl UnwindSafe for CorrelationGroup
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.