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§fn clone(&self) -> MapOptions
fn clone(&self) -> MapOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MapOptions
impl Debug for MapOptions
Source§impl Default for MapOptions
impl Default for MapOptions
Source§fn default() -> MapOptions
fn default() -> MapOptions
Returns the “default value” for a type. Read more
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