pub struct FinalPrefillChunkMessage {
pub base: MessageBase,
pub token_ids: Vec<i32>,
pub prompt_token_start: u32,
pub is_final: bool,
pub activation_dtype: Option<String>,
pub activation_bytes: Option<u64>,
pub activation: Option<ActivationDescriptor>,
pub activation_ref: Option<String>,
}Fields§
§base: MessageBase§token_ids: Vec<i32>§prompt_token_start: u32§is_final: bool§activation_dtype: Option<String>§activation_bytes: Option<u64>§activation: Option<ActivationDescriptor>§activation_ref: Option<String>Trait Implementations§
Source§impl Clone for FinalPrefillChunkMessage
impl Clone for FinalPrefillChunkMessage
Source§fn clone(&self) -> FinalPrefillChunkMessage
fn clone(&self) -> FinalPrefillChunkMessage
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 FinalPrefillChunkMessage
impl Debug for FinalPrefillChunkMessage
Source§impl<'de> Deserialize<'de> for FinalPrefillChunkMessage
impl<'de> Deserialize<'de> for FinalPrefillChunkMessage
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
impl Eq for FinalPrefillChunkMessage
Source§impl PartialEq for FinalPrefillChunkMessage
impl PartialEq for FinalPrefillChunkMessage
Source§impl Serialize for FinalPrefillChunkMessage
impl Serialize for FinalPrefillChunkMessage
impl StructuralPartialEq for FinalPrefillChunkMessage
Auto Trait Implementations§
impl Freeze for FinalPrefillChunkMessage
impl RefUnwindSafe for FinalPrefillChunkMessage
impl Send for FinalPrefillChunkMessage
impl Sync for FinalPrefillChunkMessage
impl Unpin for FinalPrefillChunkMessage
impl UnsafeUnpin for FinalPrefillChunkMessage
impl UnwindSafe for FinalPrefillChunkMessage
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