pub struct TopLogprobs(pub u32);Expand description
Represents the top log probabilities with a value between 0 and 20.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for TopLogprobs
impl Clone for TopLogprobs
Source§fn clone(&self) -> TopLogprobs
fn clone(&self) -> TopLogprobs
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 TopLogprobs
impl Debug for TopLogprobs
Source§impl Default for TopLogprobs
impl Default for TopLogprobs
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
Source§impl PartialEq for TopLogprobs
impl PartialEq for TopLogprobs
Source§impl Serialize for TopLogprobs
impl Serialize for TopLogprobs
impl StructuralPartialEq for TopLogprobs
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