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