pub struct EngineEgressAdmissionRequestV1 {
pub schema_version: u32,
pub provider: String,
pub upstream_base: String,
pub body: Value,
}Fields§
§schema_version: u32§provider: StringProvider label as the request’s wire shape names it (anthropic,
openai, …). Informational: it is recorded in the receipt.
upstream_base: StringBase URL the host will send the request to. Locality (local vs. remote) is derived from it; anything not provably local is remote.
body: ValueThe model request document exactly as the host would forward it.
Implementations§
Source§impl EngineEgressAdmissionRequestV1
impl EngineEgressAdmissionRequestV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EngineEgressAdmissionRequestV1
impl<'de> Deserialize<'de> for EngineEgressAdmissionRequestV1
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 StructuralPartialEq for EngineEgressAdmissionRequestV1
Auto Trait Implementations§
impl Freeze for EngineEgressAdmissionRequestV1
impl RefUnwindSafe for EngineEgressAdmissionRequestV1
impl Send for EngineEgressAdmissionRequestV1
impl Sync for EngineEgressAdmissionRequestV1
impl Unpin for EngineEgressAdmissionRequestV1
impl UnsafeUnpin for EngineEgressAdmissionRequestV1
impl UnwindSafe for EngineEgressAdmissionRequestV1
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