pub struct RulesSummary {
pub banned_token_id_count: Option<u64>,
pub regex_pattern_count: Option<u64>,
pub grammar_constraint_count: Option<u64>,
pub multi_token_pattern_count: Option<u64>,
}Fields§
§banned_token_id_count: Option<u64>§regex_pattern_count: Option<u64>§grammar_constraint_count: Option<u64>§multi_token_pattern_count: Option<u64>Trait Implementations§
Source§impl Clone for RulesSummary
impl Clone for RulesSummary
Source§fn clone(&self) -> RulesSummary
fn clone(&self) -> RulesSummary
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 RulesSummary
impl Debug for RulesSummary
Source§impl Default for RulesSummary
impl Default for RulesSummary
Source§fn default() -> RulesSummary
fn default() -> RulesSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RulesSummary
impl<'de> Deserialize<'de> for RulesSummary
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 RulesSummary
impl PartialEq for RulesSummary
Source§fn eq(&self, other: &RulesSummary) -> bool
fn eq(&self, other: &RulesSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RulesSummary
impl Serialize for RulesSummary
impl Eq for RulesSummary
impl StructuralPartialEq for RulesSummary
Auto Trait Implementations§
impl Freeze for RulesSummary
impl RefUnwindSafe for RulesSummary
impl Send for RulesSummary
impl Sync for RulesSummary
impl Unpin for RulesSummary
impl UnsafeUnpin for RulesSummary
impl UnwindSafe for RulesSummary
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