Struct chat_flame_backend::api::model::StreamDetails
source · pub struct StreamDetails {
pub finish_reason: FinishReason,
pub generated_tokens: i32,
pub seed: Option<i64>,
}
Fields§
§finish_reason: FinishReason
§generated_tokens: i32
§seed: Option<i64>
Trait Implementations§
source§impl Clone for StreamDetails
impl Clone for StreamDetails
source§fn clone(&self) -> StreamDetails
fn clone(&self) -> StreamDetails
Returns a copy 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 StreamDetails
impl Debug for StreamDetails
source§impl<'de> Deserialize<'de> for StreamDetails
impl<'de> Deserialize<'de> for StreamDetails
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 Serialize for StreamDetails
impl Serialize for StreamDetails
Auto Trait Implementations§
impl RefUnwindSafe for StreamDetails
impl Send for StreamDetails
impl Sync for StreamDetails
impl Unpin for StreamDetails
impl UnwindSafe for StreamDetails
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