Skip to main content

TradeSessionType

Trait TradeSessionType 

Source
pub trait TradeSessionType: Copy {
    // Required method
    fn kind(&self) -> TradeSessionKind;

    // Provided methods
    fn is_intraday(&self) -> bool { ... }
    fn as_str(&self) -> &'static str { ... }
}

Required Methods§

Provided Methods§

Source

fn is_intraday(&self) -> bool

Source

fn as_str(&self) -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§