pub struct ChatCompletionEvents {
pub completion_events: Box<FeedResultChatCompletionEventPreview>,
}Fields§
§completion_events: Box<FeedResultChatCompletionEventPreview>Implementations§
Source§impl ChatCompletionEvents
impl ChatCompletionEvents
pub fn new( completion_events: FeedResultChatCompletionEventPreview, ) -> ChatCompletionEvents
Trait Implementations§
Source§impl Clone for ChatCompletionEvents
impl Clone for ChatCompletionEvents
Source§fn clone(&self) -> ChatCompletionEvents
fn clone(&self) -> ChatCompletionEvents
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 ChatCompletionEvents
impl Debug for ChatCompletionEvents
Source§impl Default for ChatCompletionEvents
impl Default for ChatCompletionEvents
Source§fn default() -> ChatCompletionEvents
fn default() -> ChatCompletionEvents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionEvents
impl<'de> Deserialize<'de> for ChatCompletionEvents
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 ChatCompletionEvents
impl PartialEq for ChatCompletionEvents
Source§impl Serialize for ChatCompletionEvents
impl Serialize for ChatCompletionEvents
impl StructuralPartialEq for ChatCompletionEvents
Auto Trait Implementations§
impl Freeze for ChatCompletionEvents
impl RefUnwindSafe for ChatCompletionEvents
impl Send for ChatCompletionEvents
impl Sync for ChatCompletionEvents
impl Unpin for ChatCompletionEvents
impl UnsafeUnpin for ChatCompletionEvents
impl UnwindSafe for ChatCompletionEvents
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