Struct askitty::types::llm::TopLogprobs
source · pub struct TopLogprobs {
pub token: String,
pub logprob: f32,
}
Fields§
§token: String
§logprob: f32
Trait Implementations§
source§impl<'de> Deserialize<'de> for TopLogprobs
impl<'de> Deserialize<'de> for TopLogprobs
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 TopLogprobs
impl RefUnwindSafe for TopLogprobs
impl Send for TopLogprobs
impl Sync for TopLogprobs
impl Unpin for TopLogprobs
impl UnwindSafe for TopLogprobs
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