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