pub struct SyntheticAcceptanceCurveInput {
pub model_key: String,
pub thinking_mode: Option<String>,
pub text: String,
pub sha256: String,
}Expand description
The curve form’s wire payload ([[RFC-0003:C-SERVE-SYNTHETIC-ACCEPTANCE]]).
Fields§
§model_key: String§thinking_mode: Option<String>The effective thinking mode: the declared mode, or thinking_on when
the declaration omits it and the model entry uses the thinking-mode
shape. Absent when the model entry is a flat list (no mode applies).
text: StringThe complete digest-verified curve file text.
sha256: StringThe SHA-256 digest of the curve file bytes, verified by the control plane against the declaration.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SyntheticAcceptanceCurveInput
impl<'de> Deserialize<'de> for SyntheticAcceptanceCurveInput
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 SyntheticAcceptanceCurveInput
impl JsonSchema for SyntheticAcceptanceCurveInput
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 moreimpl StructuralPartialEq for SyntheticAcceptanceCurveInput
Auto Trait Implementations§
impl Freeze for SyntheticAcceptanceCurveInput
impl RefUnwindSafe for SyntheticAcceptanceCurveInput
impl Send for SyntheticAcceptanceCurveInput
impl Sync for SyntheticAcceptanceCurveInput
impl Unpin for SyntheticAcceptanceCurveInput
impl UnsafeUnpin for SyntheticAcceptanceCurveInput
impl UnwindSafe for SyntheticAcceptanceCurveInput
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