pub struct ChatInputAudioPart {
pub type_: ChatInputAudioPartType,
pub input_audio: InputAudio,
pub prompt_cache_breakpoint: Option<PromptCacheBreakpoint>,
pub rest: Rest,
}Fields§
§type_: ChatInputAudioPartType§input_audio: InputAudio§prompt_cache_breakpoint: Option<PromptCacheBreakpoint>§rest: RestTrait Implementations§
Source§impl Clone for ChatInputAudioPart
impl Clone for ChatInputAudioPart
Source§fn clone(&self) -> ChatInputAudioPart
fn clone(&self) -> ChatInputAudioPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChatInputAudioPart
impl Debug for ChatInputAudioPart
Source§impl<'de> Deserialize<'de> for ChatInputAudioPart
impl<'de> Deserialize<'de> for ChatInputAudioPart
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
Source§impl PartialEq for ChatInputAudioPart
impl PartialEq for ChatInputAudioPart
Source§impl Serialize for ChatInputAudioPart
impl Serialize for ChatInputAudioPart
impl StructuralPartialEq for ChatInputAudioPart
Auto Trait Implementations§
impl Freeze for ChatInputAudioPart
impl RefUnwindSafe for ChatInputAudioPart
impl Send for ChatInputAudioPart
impl Sync for ChatInputAudioPart
impl Unpin for ChatInputAudioPart
impl UnsafeUnpin for ChatInputAudioPart
impl UnwindSafe for ChatInputAudioPart
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