pub struct StageReply {
pub kind: WireReplyKind,
pub predicted: i32,
pub predicted_tokens: Vec<i32>,
pub native_mtp_draft: Option<StageNativeMtpDraft>,
pub window: StageReplyWindow,
pub stats: StageReplyStats,
}Fields§
§kind: WireReplyKind§predicted: i32§predicted_tokens: Vec<i32>Target-model predictions only. Native MTP proposals are carried separately.
native_mtp_draft: Option<StageNativeMtpDraft>§window: StageReplyWindow§stats: StageReplyStatsTrait Implementations§
Source§impl Clone for StageReply
impl Clone for StageReply
Source§fn clone(&self) -> StageReply
fn clone(&self) -> StageReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StageReply
impl Debug for StageReply
impl Eq for StageReply
Source§impl PartialEq for StageReply
impl PartialEq for StageReply
impl StructuralPartialEq for StageReply
Auto Trait Implementations§
impl Freeze for StageReply
impl RefUnwindSafe for StageReply
impl Send for StageReply
impl Sync for StageReply
impl Unpin for StageReply
impl UnsafeUnpin for StageReply
impl UnwindSafe for StageReply
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