pub struct ResponseTopLobProb {
pub logprob: f64,
pub token: String,
}Fields§
§logprob: f64The log probability of this token.
token: StringA possible text token.
Trait Implementations§
Source§impl Clone for ResponseTopLobProb
impl Clone for ResponseTopLobProb
Source§fn clone(&self) -> ResponseTopLobProb
fn clone(&self) -> ResponseTopLobProb
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 ResponseTopLobProb
impl Debug for ResponseTopLobProb
Source§impl<'de> Deserialize<'de> for ResponseTopLobProb
impl<'de> Deserialize<'de> for ResponseTopLobProb
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 ResponseTopLobProb
impl PartialEq for ResponseTopLobProb
Source§impl Serialize for ResponseTopLobProb
impl Serialize for ResponseTopLobProb
impl StructuralPartialEq for ResponseTopLobProb
Auto Trait Implementations§
impl Freeze for ResponseTopLobProb
impl RefUnwindSafe for ResponseTopLobProb
impl Send for ResponseTopLobProb
impl Sync for ResponseTopLobProb
impl Unpin for ResponseTopLobProb
impl UnwindSafe for ResponseTopLobProb
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