pub struct MessageMetadataConfig {
pub fields: Vec<MessageMetadataField>,
}Expand description
Per-agent configuration for message metadata annotations.
User and agent messages are always annotated; only the rendered fields are configurable.
Fields§
§fields: Vec<MessageMetadataField>Which metadata fields to annotate, in render order.
Implementations§
Trait Implementations§
Source§impl Clone for MessageMetadataConfig
impl Clone for MessageMetadataConfig
Source§fn clone(&self) -> MessageMetadataConfig
fn clone(&self) -> MessageMetadataConfig
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 MessageMetadataConfig
impl Debug for MessageMetadataConfig
Source§impl Default for MessageMetadataConfig
impl Default for MessageMetadataConfig
Source§impl<'de> Deserialize<'de> for MessageMetadataConfig
impl<'de> Deserialize<'de> for MessageMetadataConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MessageMetadataConfig
impl RefUnwindSafe for MessageMetadataConfig
impl Send for MessageMetadataConfig
impl Sync for MessageMetadataConfig
impl Unpin for MessageMetadataConfig
impl UnsafeUnpin for MessageMetadataConfig
impl UnwindSafe for MessageMetadataConfig
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