rust #10

Merged
peperunas merged 127 commits from rust into master 2021-02-18 09:42:16 +00:00
Showing only changes of commit 47f17efcfb - Show all commits

View File

@ -129,6 +129,14 @@ impl Hash for ActiveOrder {
}
}
impl PartialEq for ActiveOrder {
fn eq(&self, other: &Self) -> bool {
self.id == other.id && self.client_id == other.client_id && self.group_id == other.group_id
}
}
impl Eq for ActiveOrder {}
#[derive(Copy, Clone, Debug, Hash)]
pub enum OrderKind {
Limit,