pub struct DeltaBuilder(/* private fields */);Expand description
Builder for Delta.
Implementations§
Source§impl DeltaBuilder
impl DeltaBuilder
pub fn reasoning_details( self, value: impl Into<Option<Vec<ReasoningDetail>>>, ) -> Self
pub fn reasoning_content(self, value: impl Into<Option<String>>) -> Self
pub fn reasoning(self, value: impl Into<Option<String>>) -> Self
pub fn role(self, value: impl Into<Option<DeltaRole>>) -> Self
pub fn content(self, value: impl Into<Option<String>>) -> Self
pub fn refusal(self, value: impl Into<Option<String>>) -> Self
pub fn function_call(self, value: impl Into<Option<DeltaFunctionCall>>) -> Self
pub fn tool_calls(self, value: impl Into<Option<Vec<DeltaToolCall>>>) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for DeltaBuilder
impl RefUnwindSafe for DeltaBuilder
impl Send for DeltaBuilder
impl Sync for DeltaBuilder
impl Unpin for DeltaBuilder
impl UnsafeUnpin for DeltaBuilder
impl UnwindSafe for DeltaBuilder
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