pub struct CompilerHints {
pub per_agent: HashMap<String, Value>,
pub global: Value,
}Expand description
Per-agent overrides / hints. Interpreted by the Compiler / SpawnerFactory; not required.
Fields§
§per_agent: HashMap<String, Value>Agent name → per-agent hint (= passed to SpawnerFactory.build).
global: ValueGlobal hints (= e.g. parallel limit, default timeout, …).
Trait Implementations§
Source§impl Clone for CompilerHints
impl Clone for CompilerHints
Source§fn clone(&self) -> CompilerHints
fn clone(&self) -> CompilerHints
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 CompilerHints
impl Debug for CompilerHints
Source§impl Default for CompilerHints
impl Default for CompilerHints
Source§fn default() -> CompilerHints
fn default() -> CompilerHints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompilerHints
impl<'de> Deserialize<'de> for CompilerHints
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
Source§impl JsonSchema for CompilerHints
impl JsonSchema for CompilerHints
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 CompilerHints
impl PartialEq for CompilerHints
Source§fn eq(&self, other: &CompilerHints) -> bool
fn eq(&self, other: &CompilerHints) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompilerHints
impl Serialize for CompilerHints
impl StructuralPartialEq for CompilerHints
Auto Trait Implementations§
impl Freeze for CompilerHints
impl RefUnwindSafe for CompilerHints
impl Send for CompilerHints
impl Sync for CompilerHints
impl Unpin for CompilerHints
impl UnsafeUnpin for CompilerHints
impl UnwindSafe for CompilerHints
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more