#[non_exhaustive]pub enum ProtocolRequestProfile {
FocusedReview,
SessionTurn,
UtilityPrompt,
}Expand description
Protocol-owned request family preserved across prompt submission and repair retries.
Session discussion turns and ordinary utility prompts share the top-level
AgentResponse schema. Focused reviews use their own direct structured
response so transports can enforce the review fields instead of embedding
JSON inside AgentResponse::answer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FocusedReview
Isolated focused review with a direct structured review response.
SessionTurn
Interactive session turn.
UtilityPrompt
Isolated utility prompt.
Trait Implementations§
Source§impl Clone for ProtocolRequestProfile
impl Clone for ProtocolRequestProfile
Source§fn clone(&self) -> ProtocolRequestProfile
fn clone(&self) -> ProtocolRequestProfile
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 moreimpl Copy for ProtocolRequestProfile
Source§impl Debug for ProtocolRequestProfile
impl Debug for ProtocolRequestProfile
impl Eq for ProtocolRequestProfile
Source§impl PartialEq for ProtocolRequestProfile
impl PartialEq for ProtocolRequestProfile
impl StructuralPartialEq for ProtocolRequestProfile
Auto Trait Implementations§
impl Freeze for ProtocolRequestProfile
impl RefUnwindSafe for ProtocolRequestProfile
impl Send for ProtocolRequestProfile
impl Sync for ProtocolRequestProfile
impl Unpin for ProtocolRequestProfile
impl UnsafeUnpin for ProtocolRequestProfile
impl UnwindSafe for ProtocolRequestProfile
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