#[repr(C)]pub struct RKLLMPromptCacheParam {
pub save_prompt_cache: c_int,
pub prompt_cache_path: *const c_char,
}
Expand description
@struct RKLLMPromptCacheParam @brief Structure to define parameters for caching prompts.
Fields§
§save_prompt_cache: c_int
< Flag to indicate whether to save the prompt cache (0 = don’t save, 1 = save).
prompt_cache_path: *const c_char
< Path to the prompt cache file.
Trait Implementations§
Source§impl Clone for RKLLMPromptCacheParam
impl Clone for RKLLMPromptCacheParam
Source§fn clone(&self) -> RKLLMPromptCacheParam
fn clone(&self) -> RKLLMPromptCacheParam
Returns a duplicate of the value. Read more
1.0.0 · 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 RKLLMPromptCacheParam
impl Debug for RKLLMPromptCacheParam
impl Copy for RKLLMPromptCacheParam
Auto Trait Implementations§
impl Freeze for RKLLMPromptCacheParam
impl RefUnwindSafe for RKLLMPromptCacheParam
impl !Send for RKLLMPromptCacheParam
impl !Sync for RKLLMPromptCacheParam
impl Unpin for RKLLMPromptCacheParam
impl UnwindSafe for RKLLMPromptCacheParam
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