pub struct OpenAIStreamFunction {
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
OpenAI streaming function.
Fields§
§name: Option<String>§arguments: Option<String>Trait Implementations§
Source§impl Clone for OpenAIStreamFunction
impl Clone for OpenAIStreamFunction
Source§fn clone(&self) -> OpenAIStreamFunction
fn clone(&self) -> OpenAIStreamFunction
Returns a duplicate of the value. Read more
1.0.0 · 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 OpenAIStreamFunction
impl Debug for OpenAIStreamFunction
Source§impl<'de> Deserialize<'de> for OpenAIStreamFunction
impl<'de> Deserialize<'de> for OpenAIStreamFunction
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
Auto Trait Implementations§
impl Freeze for OpenAIStreamFunction
impl RefUnwindSafe for OpenAIStreamFunction
impl Send for OpenAIStreamFunction
impl Sync for OpenAIStreamFunction
impl Unpin for OpenAIStreamFunction
impl UnwindSafe for OpenAIStreamFunction
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