#[non_exhaustive]pub struct ResponseContentPartDoneEventPart {
pub audio: Option<Option<String>>,
pub text: Option<Option<String>>,
pub transcript: Option<Option<String>>,
pub type_: Option<Option<ResponseContentPartDoneEventPartType>>,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/response_content_part_done_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<ResponseContentPartDoneEventPartType>>§rest: RestImplementations§
Source§impl ResponseContentPartDoneEventPart
impl ResponseContentPartDoneEventPart
Sourcepub fn builder() -> ResponseContentPartDoneEventPartBuilder
pub fn builder() -> ResponseContentPartDoneEventPartBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for ResponseContentPartDoneEventPart
impl DeclaredFields for ResponseContentPartDoneEventPart
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ResponseContentPartDoneEventPart
impl<'de> Deserialize<'de> for ResponseContentPartDoneEventPart
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 ResponseContentPartDoneEventPart
Auto Trait Implementations§
impl Freeze for ResponseContentPartDoneEventPart
impl RefUnwindSafe for ResponseContentPartDoneEventPart
impl Send for ResponseContentPartDoneEventPart
impl Sync for ResponseContentPartDoneEventPart
impl Unpin for ResponseContentPartDoneEventPart
impl UnsafeUnpin for ResponseContentPartDoneEventPart
impl UnwindSafe for ResponseContentPartDoneEventPart
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