Struct askitty::types::llm::Completion
source · pub struct Completion {
pub id: String,
pub object: String,
pub created: i64,
pub model: String,
pub system_fingerprint: Option<String>,
pub choices: Vec<Choice>,
pub usage: Usage,
}
Fields§
§id: String
§object: String
§created: i64
§model: String
§system_fingerprint: Option<String>
§choices: Vec<Choice>
§usage: Usage
Trait Implementations§
source§impl<'de> Deserialize<'de> for Completion
impl<'de> Deserialize<'de> for Completion
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 Completion
impl RefUnwindSafe for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnwindSafe for Completion
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