pub struct ChatReasoningCompletionBuilder<'a, S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<'a, S: State> ChatReasoningCompletionBuilder<'a, S>
impl<'a, S: State> ChatReasoningCompletionBuilder<'a, S>
Sourcepub fn build(self) -> ChatReasoningCompletion<'a>where
S: IsComplete,
pub fn build(self) -> ChatReasoningCompletion<'a>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn messages(
self,
value: Vec<ReasoningMessage<'a>>,
) -> ChatReasoningCompletionBuilder<'a, SetMessages<S>>where
S::Messages: IsUnset,
pub fn messages(
self,
value: Vec<ReasoningMessage<'a>>,
) -> ChatReasoningCompletionBuilder<'a, SetMessages<S>>where
S::Messages: IsUnset,
Required.
Auto Trait Implementations§
impl<'a, S> Freeze for ChatReasoningCompletionBuilder<'a, S>
impl<'a, S> RefUnwindSafe for ChatReasoningCompletionBuilder<'a, S>
impl<'a, S> Send for ChatReasoningCompletionBuilder<'a, S>
impl<'a, S> Sync for ChatReasoningCompletionBuilder<'a, S>
impl<'a, S> Unpin for ChatReasoningCompletionBuilder<'a, S>
impl<'a, S> UnwindSafe for ChatReasoningCompletionBuilder<'a, S>
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