pub struct MapOptions {
pub fields: Option<BTreeMap<String, String>>,
pub target_type: Option<String>,
}Expand description
Options for StreamBuilder::map.
Fields§
§fields: Option<BTreeMap<String, String>>Output-field-name → source-expression-string mapping.
target_type: Option<String>Tag the output event with a type field.
Trait Implementations§
Source§impl Clone for MapOptions
impl Clone for MapOptions
Source§impl Debug for MapOptions
impl Debug for MapOptions
Auto Trait Implementations§
impl Freeze for MapOptions
impl RefUnwindSafe for MapOptions
impl Send for MapOptions
impl Sync for MapOptions
impl Unpin for MapOptions
impl UnsafeUnpin for MapOptions
impl UnwindSafe for MapOptions
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