You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// This function returns an error if `asset` contains invalid UTF-8.
177
177
fnasset(&self) -> crate::Result<&str>;
178
178
179
-
/// Returns the type of the strument, e.g. FUT for future or future spread as
180
-
/// a `&str`.
179
+
/// Returns the [Security type](https://databento.com/docs/schemas-and-data-formats/instrument-definitions#security-type) of the instrument, e.g. FUT for future or future spread as a `&str`.
181
180
///
182
181
/// # Errors
183
182
/// This function returns an error if `security_type` contains invalid UTF-8.
Copy file name to clipboardExpand all lines: rust/dbn/src/record/methods.rs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -567,8 +567,7 @@ impl InstrumentDefMsg {
567
567
c_chars_to_str(&self.cfi)
568
568
}
569
569
570
-
/// Returns the type of the strument, e.g. FUT for future or future spread as
571
-
/// a `&str`.
570
+
/// Returns the [Security type](https://databento.com/docs/schemas-and-data-formats/instrument-definitions#security-type) of the instrument, e.g. FUT for future or future spread as a `&str`.
572
571
///
573
572
/// # Errors
574
573
/// This function returns an error if `security_type` contains invalid UTF-8.
0 commit comments