Enum CarrierKind
pub enum CarrierKind {
Native,
Prompt,
}Expand description
Which carrier shape a tool-result carrier uses.
Variants§
Native
role = "tool": a JSON envelope, or raw tool text (legacy).
Prompt
role = "user" starting with the results prefix.
Trait Implementations§
Source§impl Clone for CarrierKind
impl Clone for CarrierKind
Source§fn clone(&self) -> CarrierKind
fn clone(&self) -> CarrierKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CarrierKind
Source§impl Debug for CarrierKind
impl Debug for CarrierKind
impl Eq for CarrierKind
Source§impl PartialEq for CarrierKind
impl PartialEq for CarrierKind
impl StructuralPartialEq for CarrierKind
Auto Trait Implementations§
impl Freeze for CarrierKind
impl RefUnwindSafe for CarrierKind
impl Send for CarrierKind
impl Sync for CarrierKind
impl Unpin for CarrierKind
impl UnsafeUnpin for CarrierKind
impl UnwindSafe for CarrierKind
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