#[non_exhaustive]pub struct ResponseContentPartAddedEventPart {
pub audio: Option<Option<String>>,
pub text: Option<Option<String>>,
pub transcript: Option<Option<String>>,
pub type_: Option<Option<ResponseContentPartAddedEventPartType>>,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/response_content_part_added_event.py, Part.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.audio: Option<Option<String>>§text: Option<Option<String>>§transcript: Option<Option<String>>§type_: Option<Option<ResponseContentPartAddedEventPartType>>§rest: RestImplementations§
Source§impl ResponseContentPartAddedEventPart
impl ResponseContentPartAddedEventPart
Sourcepub fn builder() -> ResponseContentPartAddedEventPartBuilder
pub fn builder() -> ResponseContentPartAddedEventPartBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for ResponseContentPartAddedEventPart
impl DeclaredFields for ResponseContentPartAddedEventPart
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ResponseContentPartAddedEventPart
impl<'de> Deserialize<'de> for ResponseContentPartAddedEventPart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ResponseContentPartAddedEventPart
Auto Trait Implementations§
impl Freeze for ResponseContentPartAddedEventPart
impl RefUnwindSafe for ResponseContentPartAddedEventPart
impl Send for ResponseContentPartAddedEventPart
impl Sync for ResponseContentPartAddedEventPart
impl Unpin for ResponseContentPartAddedEventPart
impl UnsafeUnpin for ResponseContentPartAddedEventPart
impl UnwindSafe for ResponseContentPartAddedEventPart
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