pub struct DecisionTarget {
pub target: String,
pub model: ModelId,
pub format: WireFormat,
pub base_url: String,
pub extra_body: BTreeMap<String, Value>,
pub reasoning_effort: Option<String>,
}Expand description
Non-secret configured target details returned by the decision endpoint.
Fields§
§target: String§model: ModelId§format: WireFormat§base_url: String§extra_body: BTreeMap<String, Value>§reasoning_effort: Option<String>Effort the target forces, so a caller that dispatches the call itself can apply it.
Trait Implementations§
Source§impl Clone for DecisionTarget
impl Clone for DecisionTarget
Source§fn clone(&self) -> DecisionTarget
fn clone(&self) -> DecisionTarget
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 moreAuto Trait Implementations§
impl Freeze for DecisionTarget
impl RefUnwindSafe for DecisionTarget
impl Send for DecisionTarget
impl Sync for DecisionTarget
impl Unpin for DecisionTarget
impl UnsafeUnpin for DecisionTarget
impl UnwindSafe for DecisionTarget
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