pub struct StreamDef {
pub name: String,
pub input_schema: Value,
pub chunk_output_schema: Value,
pub error_schema: Option<Value>,
pub context_keys: Vec<String>,
pub suppress: Option<Vec<String>>,
pub handler: StreamHandlerFn,
}Fields§
§name: String§input_schema: Value§chunk_output_schema: Value§error_schema: Option<Value>§context_keys: Vec<String>§suppress: Option<Vec<String>>§handler: StreamHandlerFnAuto Trait Implementations§
impl Freeze for StreamDef
impl !RefUnwindSafe for StreamDef
impl Send for StreamDef
impl Sync for StreamDef
impl Unpin for StreamDef
impl UnsafeUnpin for StreamDef
impl !UnwindSafe for StreamDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more