pub struct TextPartBuilder(/* private fields */);Expand description
Builder for TextPart.
Implementations§
Source§impl TextPartBuilder
impl TextPartBuilder
pub fn prompt_cache_breakpoint( self, value: impl Into<PromptCacheBreakpoint>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for TextPartBuilder
impl RefUnwindSafe for TextPartBuilder
impl Send for TextPartBuilder
impl Sync for TextPartBuilder
impl Unpin for TextPartBuilder
impl UnsafeUnpin for TextPartBuilder
impl UnwindSafe for TextPartBuilder
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