We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20895fd + 8e5fa70 commit eae744cCopy full SHA for eae744c
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "mostro-core"
3
-version = "0.6.26"
+version = "0.6.27"
4
edition = "2021"
5
license = "MIT"
6
authors = ["Francisco Calderón <negrunch@grunch.dev>"]
src/message.rs
@@ -410,4 +410,11 @@ impl MessageKind {
410
}
411
(false, 0)
412
413
+
414
+ pub fn trade_index(&self) -> i64 {
415
+ if let Some(index) = self.trade_index {
416
+ return index;
417
+ }
418
+ 0
419
420
0 commit comments