pub enum ChatModelObservationDocumentation {
ChatModelOperation,
LowCardinalityKeyNames(LowNames),
HighCardinalityKeyNames(HighNames),
}Variants§
Implementations§
Trait Implementations§
Source§impl ObservationDocumentation for ChatModelObservationDocumentation
impl ObservationDocumentation for ChatModelObservationDocumentation
fn observation( &self, custom_convention: Option<BoxObservationConvention>, default_convention: Option<BoxObservationConvention>, context: impl Context + 'static, registry: Box<dyn ObservationRegistry>, ) -> Result<Box<dyn Observation>, BoxError>
fn default_convention(&self) -> &'static str
fn low_cardinality_key_names(&self) -> Vec<KeyName>
fn high_cardinality_key_names(&self) -> Vec<KeyName>
fn name(&self) -> Option<&str>
fn contextual_name(&self) -> Option<&str>
fn prefix(&self) -> &str
fn events(&self) -> Vec<i32>
Source§impl PartialEq for ChatModelObservationDocumentation
impl PartialEq for ChatModelObservationDocumentation
Source§fn eq(&self, other: &ChatModelObservationDocumentation) -> bool
fn eq(&self, other: &ChatModelObservationDocumentation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ChatModelObservationDocumentation
impl StructuralPartialEq for ChatModelObservationDocumentation
Auto Trait Implementations§
impl Freeze for ChatModelObservationDocumentation
impl RefUnwindSafe for ChatModelObservationDocumentation
impl Send for ChatModelObservationDocumentation
impl Sync for ChatModelObservationDocumentation
impl Unpin for ChatModelObservationDocumentation
impl UnwindSafe for ChatModelObservationDocumentation
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.