pub struct Choice {
pub harness: String,
pub harness_name: String,
pub why: String,
pub installed: bool,
pub install: Option<String>,
pub model: MetaModel,
pub model_why: String,
pub key_set: bool,
pub local: Option<LocalChoice>,
}Expand description
The meta harness and model hlock meta init settled on, and what’s still missing.
Fields§
§harness: String§harness_name: String§why: String§installed: bool§install: Option<String>The command that installs the harness, when it isn’t installed.
model: MetaModel§model_why: String§key_set: boolThe API key variable is set (always true for local models).
local: Option<LocalChoice>Trait Implementations§
Source§impl Serialize for Choice
impl Serialize for Choice
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Choice
impl RefUnwindSafe for Choice
impl Send for Choice
impl Sync for Choice
impl Unpin for Choice
impl UnsafeUnpin for Choice
impl UnwindSafe for Choice
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