pub struct GenAIAttributeMapper;Expand description
Default attribute mapper that translates GenAI semantic convention keys.
Recognised input keys (matching gen_ai::* constants) are mapped directly.
Unrecognised keys are prefixed with synwire.custom..
Implementations§
Trait Implementations§
Source§impl Debug for GenAIAttributeMapper
impl Debug for GenAIAttributeMapper
Source§impl Default for GenAIAttributeMapper
impl Default for GenAIAttributeMapper
Source§fn default() -> GenAIAttributeMapper
fn default() -> GenAIAttributeMapper
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GenAIAttributeMapper
impl RefUnwindSafe for GenAIAttributeMapper
impl Send for GenAIAttributeMapper
impl Sync for GenAIAttributeMapper
impl Unpin for GenAIAttributeMapper
impl UnsafeUnpin for GenAIAttributeMapper
impl UnwindSafe for GenAIAttributeMapper
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