#[repr(C)]pub struct ActivationContext {
pub struct_size: usize,
pub model_id: ByteSlice,
pub source_model_sha256: ByteSlice,
pub tokenizer_id: ByteSlice,
pub tokenizer_inventory: *const TokenizerInventoryView,
pub config_path: ByteSlice,
pub state_directory: ByteSlice,
pub proposal_deadline_ns: u64,
pub host_clock_context: *mut c_void,
pub monotonic_now_ns: MonotonicNowNs,
}Fields§
§struct_size: usize§model_id: ByteSlice§source_model_sha256: ByteSlice§tokenizer_id: ByteSlice§tokenizer_inventory: *const TokenizerInventoryView§config_path: ByteSlice§state_directory: ByteSlice§proposal_deadline_ns: u64§host_clock_context: *mut c_void§monotonic_now_ns: MonotonicNowNsTrait Implementations§
Source§impl Clone for ActivationContext
impl Clone for ActivationContext
Source§fn clone(&self) -> ActivationContext
fn clone(&self) -> ActivationContext
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 ActivationContext
Auto Trait Implementations§
impl !Send for ActivationContext
impl !Sync for ActivationContext
impl Freeze for ActivationContext
impl RefUnwindSafe for ActivationContext
impl Unpin for ActivationContext
impl UnsafeUnpin for ActivationContext
impl UnwindSafe for ActivationContext
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