async_openai_wasm::types::realtime

Trait ToText

Source
pub trait ToText {
    // Required method
    fn to_text(self) -> String;
}
Available on crate feature realtime only.
Expand description

A trait same as Into

For converting event structs into text part of WS message

Required Methods§

Source

fn to_text(self) -> String

Implementors§