pub struct ChatChoice {
pub index: u32,
pub message: ChatMessage,
pub finish_reason: String,
}Fields§
§index: u32§message: ChatMessage§finish_reason: StringTrait Implementations§
Source§impl Debug for ChatChoice
impl Debug for ChatChoice
Auto Trait Implementations§
impl Freeze for ChatChoice
impl RefUnwindSafe for ChatChoice
impl Send for ChatChoice
impl Sync for ChatChoice
impl Unpin for ChatChoice
impl UnwindSafe for ChatChoice
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