Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct CategoryProfile {
pub model_name: Option<String>,
pub tool_call_id: Option<String>,
pub subtype: Option<String>,
pub extra: BTreeMap<String, Json>,
pub annotated_request: Option<Arc<AnnotatedLlmRequest>>,
pub annotated_response: Option<Arc<AnnotatedLlmResponse>>,
}
Category-specific profile data.
Unknown wire keys are preserved in extra. LLM annotations are serialized under category_profile when a codec captures them.
model_name: Option<String>Normalized model identifier for LLM events.
tool_call_id: Option<String>LLM-provider correlation ID for Tool events.
subtype: Option<String>Vendor subtype required when category == "custom".
extra: BTreeMap<String, Json>Unknown category-profile keys preserved from newer producers.
annotated_request: Option<Arc<AnnotatedLlmRequest>>Normalized request annotation for LLM start events.
annotated_response: Option<Arc<AnnotatedLlmResponse>>Normalized response annotation for LLM end events.
impl CategoryProfileimpl CategoryProfile
builderpub fn builder() -> CategoryProfileBuilder<((), (), (), (), (), ())>
Create a builder for building CategoryProfile. On the builder, call .model_name(...)(optional), .tool_call_id(...)(optional), .subtype(...)(optional), .extra(...)(optional), .annotated_request(...)(optional), .annotated_response(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of CategoryProfile.
impl CategoryProfileimpl CategoryProfile
is_wire_emptypub fn is_wire_empty(&self) -> bool
Return true when the profile has no wire-serialized fields.
true when no profile fields would be serialized on the wire.
impl Clone for CategoryProfileimpl Clone for CategoryProfile
clonefn clone(&self) -> CategoryProfile
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for CategoryProfileimpl Debug for CategoryProfile
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for CategoryProfileimpl Default for CategoryProfile
defaultfn default() -> CategoryProfile
impl<'de> Deserialize<'de> for CategoryProfileimpl<'de> Deserialize<'de> for CategoryProfile
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for CategoryProfileimpl PartialEq for CategoryProfile
eqfn eq(&self, other: &CategoryProfile) -> bool
nefn ne(&self, other: &Rhs) -> bool
impl Serialize for CategoryProfileimpl Serialize for CategoryProfile
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for CategoryProfileimpl StructuralPartialEq for CategoryProfile