pub struct ResponseContentPartAddedEventPartBuilder(/* private fields */);Expand description
Builder for ResponseContentPartAddedEventPart.
Implementations§
Source§impl ResponseContentPartAddedEventPartBuilder
impl ResponseContentPartAddedEventPartBuilder
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<ResponseContentPartAddedEventPartType>>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ResponseContentPartAddedEventPart
pub fn build(self) -> ResponseContentPartAddedEventPart
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ResponseContentPartAddedEventPartBuilder
impl RefUnwindSafe for ResponseContentPartAddedEventPartBuilder
impl Send for ResponseContentPartAddedEventPartBuilder
impl Sync for ResponseContentPartAddedEventPartBuilder
impl Unpin for ResponseContentPartAddedEventPartBuilder
impl UnsafeUnpin for ResponseContentPartAddedEventPartBuilder
impl UnwindSafe for ResponseContentPartAddedEventPartBuilder
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