#[repr(C)]pub struct GenerationStart {
pub struct_size: usize,
pub request_id: u64,
pub session_id: u64,
pub agent_session_id: ByteSlice,
pub prompt_token_ids: TokenSlice,
}Fields§
§struct_size: usize§request_id: u64§session_id: u64§agent_session_id: ByteSlice§prompt_token_ids: TokenSliceTrait Implementations§
Source§impl Clone for GenerationStart
impl Clone for GenerationStart
Source§fn clone(&self) -> GenerationStart
fn clone(&self) -> GenerationStart
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 moreimpl Copy for GenerationStart
Source§impl Debug for GenerationStart
impl Debug for GenerationStart
Source§impl Default for GenerationStart
impl Default for GenerationStart
Source§fn default() -> GenerationStart
fn default() -> GenerationStart
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for GenerationStart
impl !Sync for GenerationStart
impl Freeze for GenerationStart
impl RefUnwindSafe for GenerationStart
impl Unpin for GenerationStart
impl UnsafeUnpin for GenerationStart
impl UnwindSafe for GenerationStart
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