pub struct ResponseStreamTopLogprob {
pub token: Option<String>,
pub logprob: Option<f64>,
}Fields§
§token: Option<String>§logprob: Option<f64>Trait Implementations§
Source§impl Clone for ResponseStreamTopLogprob
impl Clone for ResponseStreamTopLogprob
Source§fn clone(&self) -> ResponseStreamTopLogprob
fn clone(&self) -> ResponseStreamTopLogprob
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 ResponseStreamTopLogprob
impl Debug for ResponseStreamTopLogprob
Source§impl<'de> Deserialize<'de> for ResponseStreamTopLogprob
impl<'de> Deserialize<'de> for ResponseStreamTopLogprob
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 ResponseStreamTopLogprob
impl PartialEq for ResponseStreamTopLogprob
Source§impl Serialize for ResponseStreamTopLogprob
impl Serialize for ResponseStreamTopLogprob
impl StructuralPartialEq for ResponseStreamTopLogprob
Auto Trait Implementations§
impl Freeze for ResponseStreamTopLogprob
impl RefUnwindSafe for ResponseStreamTopLogprob
impl Send for ResponseStreamTopLogprob
impl Sync for ResponseStreamTopLogprob
impl Unpin for ResponseStreamTopLogprob
impl UnsafeUnpin for ResponseStreamTopLogprob
impl UnwindSafe for ResponseStreamTopLogprob
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