pub struct StageNativeMtpDraft {
pub token_ids: Vec<i32>,
pub proposal_compute_us: i64,
}Expand description
A native MTP proposal associated with a stage reply.
This deliberately has its own reply field rather than sharing the target prediction vector. Consumers must never mistake proposal metadata for a target prediction while verifying a composite speculative window.
Fields§
§token_ids: Vec<i32>§proposal_compute_us: i64Trait Implementations§
Source§impl Clone for StageNativeMtpDraft
impl Clone for StageNativeMtpDraft
Source§fn clone(&self) -> StageNativeMtpDraft
fn clone(&self) -> StageNativeMtpDraft
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 StageNativeMtpDraft
impl Debug for StageNativeMtpDraft
impl Eq for StageNativeMtpDraft
Source§impl PartialEq for StageNativeMtpDraft
impl PartialEq for StageNativeMtpDraft
impl StructuralPartialEq for StageNativeMtpDraft
Auto Trait Implementations§
impl Freeze for StageNativeMtpDraft
impl RefUnwindSafe for StageNativeMtpDraft
impl Send for StageNativeMtpDraft
impl Sync for StageNativeMtpDraft
impl Unpin for StageNativeMtpDraft
impl UnsafeUnpin for StageNativeMtpDraft
impl UnwindSafe for StageNativeMtpDraft
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