pub struct LlmSanitizeResponseContext<'a> {
pub codec: LlmCodecIdentity,
/* private fields */
}Expand description
Per-call response codec context delivered to an LLM sanitizer.
Fields§
§codec: LlmCodecIdentityIdentity of the active codec.
Implementations§
Source§impl<'a> LlmSanitizeResponseContext<'a>
impl<'a> LlmSanitizeResponseContext<'a>
Sourcepub fn resolve_codec(&self) -> Option<&LlmSanitizeResponseCodec<'a>>
pub fn resolve_codec(&self) -> Option<&LlmSanitizeResponseCodec<'a>>
Resolve the active response codec capability.
Auto Trait Implementations§
impl<'a> !Send for LlmSanitizeResponseContext<'a>
impl<'a> !Sync for LlmSanitizeResponseContext<'a>
impl<'a> Freeze for LlmSanitizeResponseContext<'a>
impl<'a> RefUnwindSafe for LlmSanitizeResponseContext<'a>
impl<'a> Unpin for LlmSanitizeResponseContext<'a>
impl<'a> UnsafeUnpin for LlmSanitizeResponseContext<'a>
impl<'a> UnwindSafe for LlmSanitizeResponseContext<'a>
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