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