pub struct InitOptions {
pub harness: Option<String>,
pub provider: Option<String>,
pub model: Option<String>,
pub runtime: Option<String>,
pub memory_gb: Option<f64>,
pub base_url: Option<String>,
}Expand description
What hlock meta init asks for; everything is optional.
Fields§
§harness: Option<String>§provider: Option<String>An API provider (anthropic, openai, …) or local.
model: Option<String>§runtime: Option<String>A local runtime (implies local).
memory_gb: Option<f64>§base_url: Option<String>Where the model’s API lives, overriding the provider’s or runtime’s default.
Trait Implementations§
Source§impl Clone for InitOptions
impl Clone for InitOptions
Source§fn clone(&self) -> InitOptions
fn clone(&self) -> InitOptions
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 InitOptions
impl Debug for InitOptions
Source§impl Default for InitOptions
impl Default for InitOptions
Source§fn default() -> InitOptions
fn default() -> InitOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InitOptions
impl RefUnwindSafe for InitOptions
impl Send for InitOptions
impl Sync for InitOptions
impl Unpin for InitOptions
impl UnsafeUnpin for InitOptions
impl UnwindSafe for InitOptions
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