pub struct YuleStreamEvent {
pub event_type: String,
pub text: Option<String>,
pub usage: Option<Usage>,
pub integrity: Option<IntegrityInfo>,
pub timing: Option<TimingInfo>,
pub finish_reason: Option<String>,
pub error: Option<String>,
}Fields§
§event_type: String§text: Option<String>§usage: Option<Usage>§integrity: Option<IntegrityInfo>§timing: Option<TimingInfo>§finish_reason: Option<String>§error: Option<String>Trait Implementations§
Source§impl Debug for YuleStreamEvent
impl Debug for YuleStreamEvent
Auto Trait Implementations§
impl Freeze for YuleStreamEvent
impl RefUnwindSafe for YuleStreamEvent
impl Send for YuleStreamEvent
impl Sync for YuleStreamEvent
impl Unpin for YuleStreamEvent
impl UnsafeUnpin for YuleStreamEvent
impl UnwindSafe for YuleStreamEvent
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