#[repr(C)]pub struct ProposalQuery {
pub struct_size: usize,
pub request_id: u64,
pub session_id: u64,
pub prompt_token_count: u64,
pub committed_token_count: u64,
pub decode_step: u64,
pub max_proposal_tokens: u64,
pub absolute_deadline_ns: u64,
}Fields§
§struct_size: usize§request_id: u64§session_id: u64§prompt_token_count: u64§committed_token_count: u64§decode_step: u64§max_proposal_tokens: u64§absolute_deadline_ns: u64Trait Implementations§
Source§impl Clone for ProposalQuery
impl Clone for ProposalQuery
Source§fn clone(&self) -> ProposalQuery
fn clone(&self) -> ProposalQuery
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 ProposalQuery
Source§impl Debug for ProposalQuery
impl Debug for ProposalQuery
Source§impl Default for ProposalQuery
impl Default for ProposalQuery
Source§fn default() -> ProposalQuery
fn default() -> ProposalQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProposalQuery
impl RefUnwindSafe for ProposalQuery
impl Send for ProposalQuery
impl Sync for ProposalQuery
impl Unpin for ProposalQuery
impl UnsafeUnpin for ProposalQuery
impl UnwindSafe for ProposalQuery
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