pub struct ReasoningMessage<'a> { /* private fields */ }
Expand description
A chat reasoning completion message. This currently does not support structured outputs.
Implementations§
Source§impl<'a> ReasoningMessage<'a>
impl<'a> ReasoningMessage<'a>
Sourcepub fn role(role: Role) -> ReasoningMessageBuilder<'a>
pub fn role(role: Role) -> ReasoningMessageBuilder<'a>
Create an instance of ReasoningMessage
using the builder syntax
Trait Implementations§
Source§impl<'a> Clone for ReasoningMessage<'a>
impl<'a> Clone for ReasoningMessage<'a>
Source§fn clone(&self) -> ReasoningMessage<'a>
fn clone(&self) -> ReasoningMessage<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ReasoningMessage<'a>
impl<'a> Debug for ReasoningMessage<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReasoningMessage<'a>
impl<'a> RefUnwindSafe for ReasoningMessage<'a>
impl<'a> Send for ReasoningMessage<'a>
impl<'a> Sync for ReasoningMessage<'a>
impl<'a> Unpin for ReasoningMessage<'a>
impl<'a> UnwindSafe for ReasoningMessage<'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