pub struct LogStreamConfig {
pub auto_close: bool,
pub include_names: Option<Vec<String>>,
pub include_types: Option<Vec<String>>,
pub include_tags: Option<Vec<String>>,
pub exclude_names: Option<Vec<String>>,
pub exclude_types: Option<Vec<String>>,
pub exclude_tags: Option<Vec<String>>,
pub schema_format: SchemaFormat,
}Expand description
Configuration for LogStreamCallbackHandler.
Fields§
§auto_close: boolWhether to auto-close the stream when the root run finishes.
include_names: Option<Vec<String>>Only include runs from Runnables with matching names.
include_types: Option<Vec<String>>Only include runs from Runnables with matching types.
Only include runs from Runnables with matching tags.
exclude_names: Option<Vec<String>>Exclude runs from Runnables with matching names.
exclude_types: Option<Vec<String>>Exclude runs from Runnables with matching types.
Exclude runs from Runnables with matching tags.
schema_format: SchemaFormatThe schema format to use.
Trait Implementations§
Source§impl Clone for LogStreamConfig
impl Clone for LogStreamConfig
Source§fn clone(&self) -> LogStreamConfig
fn clone(&self) -> LogStreamConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogStreamConfig
impl Debug for LogStreamConfig
Source§impl Default for LogStreamConfig
impl Default for LogStreamConfig
Source§fn default() -> LogStreamConfig
fn default() -> LogStreamConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogStreamConfig
impl RefUnwindSafe for LogStreamConfig
impl Send for LogStreamConfig
impl Sync for LogStreamConfig
impl Unpin for LogStreamConfig
impl UnwindSafe for LogStreamConfig
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