pub struct ProviderRequestPlan {
pub provider_id: String,
pub model_id: String,
pub endpoint: ProviderRequestEndpoint,
pub context: Value,
pub tools: Vec<Value>,
pub options: Value,
pub fingerprint: String,
}Expand description
One material provider request. The fingerprint binds a preflight measurement to exactly the model, endpoint, context, tools, and material request options that will be executed.
Fields§
§provider_id: String§model_id: String§endpoint: ProviderRequestEndpoint§context: Value§tools: Vec<Value>§options: Value§fingerprint: StringImplementations§
Trait Implementations§
Source§impl Clone for ProviderRequestPlan
impl Clone for ProviderRequestPlan
Source§fn clone(&self) -> ProviderRequestPlan
fn clone(&self) -> ProviderRequestPlan
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 ProviderRequestPlan
impl Debug for ProviderRequestPlan
Source§impl<'de> Deserialize<'de> for ProviderRequestPlan
impl<'de> Deserialize<'de> for ProviderRequestPlan
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 PartialEq for ProviderRequestPlan
impl PartialEq for ProviderRequestPlan
Source§impl Serialize for ProviderRequestPlan
impl Serialize for ProviderRequestPlan
impl StructuralPartialEq for ProviderRequestPlan
Auto Trait Implementations§
impl Freeze for ProviderRequestPlan
impl RefUnwindSafe for ProviderRequestPlan
impl Send for ProviderRequestPlan
impl Sync for ProviderRequestPlan
impl Unpin for ProviderRequestPlan
impl UnsafeUnpin for ProviderRequestPlan
impl UnwindSafe for ProviderRequestPlan
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