pub struct ContractNativeGrammarSummary {
pub dialect: String,
pub target_codec: String,
pub return_shape: String,
pub strict: bool,
}Expand description
Grammar metadata cached with the contract-native backend.
Fields§
§dialect: StringGrammar dialect used by the output contract.
target_codec: StringTarget codec for terminal model output.
return_shape: StringReturn Shape expression used to derive the grammar.
strict: boolWhether strict grammar output is required.
Trait Implementations§
Source§impl Clone for ContractNativeGrammarSummary
impl Clone for ContractNativeGrammarSummary
Source§fn clone(&self) -> ContractNativeGrammarSummary
fn clone(&self) -> ContractNativeGrammarSummary
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 ContractNativeGrammarSummary
impl Debug for ContractNativeGrammarSummary
impl Eq for ContractNativeGrammarSummary
impl StructuralPartialEq for ContractNativeGrammarSummary
Auto Trait Implementations§
impl Freeze for ContractNativeGrammarSummary
impl RefUnwindSafe for ContractNativeGrammarSummary
impl Send for ContractNativeGrammarSummary
impl Sync for ContractNativeGrammarSummary
impl Unpin for ContractNativeGrammarSummary
impl UnsafeUnpin for ContractNativeGrammarSummary
impl UnwindSafe for ContractNativeGrammarSummary
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.