pub struct RunSelection {
pub agent: AgentId,
pub model: ModelSelection,
pub preset: Option<String>,
}Fields§
§agent: AgentId§model: ModelSelection§preset: Option<String>Trait Implementations§
Source§impl Clone for RunSelection
impl Clone for RunSelection
Source§fn clone(&self) -> RunSelection
fn clone(&self) -> RunSelection
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 RunSelection
impl Debug for RunSelection
Source§impl<'de> Deserialize<'de> for RunSelection
impl<'de> Deserialize<'de> for RunSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RunSelection
Source§impl JsonSchema for RunSelection
impl JsonSchema for RunSelection
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RunSelection
impl PartialEq for RunSelection
Source§fn eq(&self, other: &RunSelection) -> bool
fn eq(&self, other: &RunSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RunSelection
impl Serialize for RunSelection
impl StructuralPartialEq for RunSelection
Auto Trait Implementations§
impl Freeze for RunSelection
impl RefUnwindSafe for RunSelection
impl Send for RunSelection
impl Sync for RunSelection
impl Unpin for RunSelection
impl UnsafeUnpin for RunSelection
impl UnwindSafe for RunSelection
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