pub struct Accepts {
pub user_images: bool,
pub assistant_images: bool,
pub tool_result_images: bool,
pub tools: bool,
pub foreign_reasoning: bool,
}Expand description
What a model reads, as replay sees it.
Fields§
§user_images: boolImages in user messages.
assistant_images: boolImages in assistant turns another model produced.
tool_result_images: boolImages inside tool results.
tools: boolTool calls and their results.
foreign_reasoning: boolAnother model’s reasoning text as reasoning: the wire has a place for
reasoning that carries no provider item or signature, such as Chat
Completions’ reasoning_content field. Read only for a request that
asks for it (CompletionRequest::foreign_reasoning).
Implementations§
Trait Implementations§
impl Copy for Accepts
impl Eq for Accepts
impl StructuralPartialEq for Accepts
Auto Trait Implementations§
impl Forget for Accepts
impl Freeze for Accepts
impl Move for Accepts
impl RefUnwindSafe for Accepts
impl Send for Accepts
impl Sync for Accepts
impl Unpin for Accepts
impl UnsafeUnpin for Accepts
impl UnwindSafe for Accepts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.