Skip to main content

TwsNullableField

Trait TwsNullableField 

Source
pub trait TwsNullableField {
    // Required method
    fn to_tws_nullable_field(self) -> TwsApiResult<String>;
}
Expand description

TWS field serialization used by make_field_handle_empty.

Required Methods§

Source

fn to_tws_nullable_field(self) -> TwsApiResult<String>

Converts a value into its TWS field string, with unset sentinels mapped to empty.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TwsNullableField for f64

Source§

impl TwsNullableField for i32

Source§

impl<T> TwsNullableField for Option<T>
where T: TwsField,

Implementors§