pub struct SchemaFeatures {
pub references: bool,
pub definitions: bool,
pub additional_properties: bool,
pub const_values: bool,
pub exclusive_bounds: bool,
pub property_names: bool,
}Fields§
§references: bool§definitions: bool§additional_properties: bool§const_values: bool§exclusive_bounds: boolexclusiveMinimum / exclusiveMaximum numeric bounds. Gemini’s
OpenAPI-subset parser rejects these; Anthropic and OpenAI accept them.
property_names: boolpropertyNames / patternProperties object constraints. Rejected by
Gemini’s parser; accepted by Anthropic and OpenAI.
Trait Implementations§
Source§impl Clone for SchemaFeatures
impl Clone for SchemaFeatures
Source§fn clone(&self) -> SchemaFeatures
fn clone(&self) -> SchemaFeatures
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 moreimpl Copy for SchemaFeatures
Source§impl Debug for SchemaFeatures
impl Debug for SchemaFeatures
impl Eq for SchemaFeatures
Source§impl PartialEq for SchemaFeatures
impl PartialEq for SchemaFeatures
Source§fn eq(&self, other: &SchemaFeatures) -> bool
fn eq(&self, other: &SchemaFeatures) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaFeatures
Auto Trait Implementations§
impl Freeze for SchemaFeatures
impl RefUnwindSafe for SchemaFeatures
impl Send for SchemaFeatures
impl Sync for SchemaFeatures
impl Unpin for SchemaFeatures
impl UnsafeUnpin for SchemaFeatures
impl UnwindSafe for SchemaFeatures
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.