pub struct ResponseContentPartDoneEventPartBuilder(/* private fields */);Expand description
Builder for ResponseContentPartDoneEventPart.
Implementations§
Source§impl ResponseContentPartDoneEventPartBuilder
impl ResponseContentPartDoneEventPartBuilder
pub fn audio(self, value: impl Into<Option<String>>) -> Self
pub fn text(self, value: impl Into<Option<String>>) -> Self
pub fn transcript(self, value: impl Into<Option<String>>) -> Self
pub fn type_( self, value: impl Into<Option<ResponseContentPartDoneEventPartType>>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ResponseContentPartDoneEventPart
pub fn build(self) -> ResponseContentPartDoneEventPart
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ResponseContentPartDoneEventPartBuilder
impl RefUnwindSafe for ResponseContentPartDoneEventPartBuilder
impl Send for ResponseContentPartDoneEventPartBuilder
impl Sync for ResponseContentPartDoneEventPartBuilder
impl Unpin for ResponseContentPartDoneEventPartBuilder
impl UnsafeUnpin for ResponseContentPartDoneEventPartBuilder
impl UnwindSafe for ResponseContentPartDoneEventPartBuilder
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