pub struct OutputTokens(pub i32);Expand description
Output tokens generated by the model
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Add for OutputTokens
impl Add for OutputTokens
Source§impl Clone for OutputTokens
impl Clone for OutputTokens
Source§fn clone(&self) -> OutputTokens
fn clone(&self) -> OutputTokens
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 OutputTokens
impl Debug for OutputTokens
Source§impl Default for OutputTokens
impl Default for OutputTokens
Source§fn default() -> OutputTokens
fn default() -> OutputTokens
Returns the “default value” for a type. Read more
Source§impl PartialEq for OutputTokens
impl PartialEq for OutputTokens
impl Copy for OutputTokens
impl Eq for OutputTokens
impl StructuralPartialEq for OutputTokens
Auto Trait Implementations§
impl Freeze for OutputTokens
impl RefUnwindSafe for OutputTokens
impl Send for OutputTokens
impl Sync for OutputTokens
impl Unpin for OutputTokens
impl UnwindSafe for OutputTokens
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