pub enum GuardianNativeResponse {
Claude(WireResponse<GenerateContentResponseBody>),
Gemini(WireResponse<GenerateContentResponseBody>),
Chat(WireResponse<GenerateContentResponseBody>),
Responses(WireResponse<GenerateContentResponseBody>),
}Expand description
The validated semantic label is paired with the complete generated target response. Hosts can use this provenance to map usage/IDs and synthesize the native Responses SSE lifecycle without treating the label as a bare JSON replacement for the client response.
Variants§
Claude(WireResponse<GenerateContentResponseBody>)
Gemini(WireResponse<GenerateContentResponseBody>)
Chat(WireResponse<GenerateContentResponseBody>)
Responses(WireResponse<GenerateContentResponseBody>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GuardianNativeResponse
impl RefUnwindSafe for GuardianNativeResponse
impl Send for GuardianNativeResponse
impl Sync for GuardianNativeResponse
impl Unpin for GuardianNativeResponse
impl UnsafeUnpin for GuardianNativeResponse
impl UnwindSafe for GuardianNativeResponse
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