pub struct CollectionLimits {
pub tool_catalog: Option<u32>,
pub skill_catalog: Option<u32>,
pub knowledge_entries: Option<u32>,
pub initial_messages: Option<u32>,
pub capability_grants: Option<u32>,
pub governance_rules: Option<u32>,
}Expand description
Named per-collection entry bounds. Absent ⇒ that collection inherits max_collection_entries.
Fields§
§tool_catalog: Option<u32>§skill_catalog: Option<u32>§knowledge_entries: Option<u32>§initial_messages: Option<u32>§capability_grants: Option<u32>§governance_rules: Option<u32>Trait Implementations§
Source§impl Clone for CollectionLimits
impl Clone for CollectionLimits
Source§fn clone(&self) -> CollectionLimits
fn clone(&self) -> CollectionLimits
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 CollectionLimits
impl Debug for CollectionLimits
Source§impl Default for CollectionLimits
impl Default for CollectionLimits
Source§fn default() -> CollectionLimits
fn default() -> CollectionLimits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionLimits
impl<'de> Deserialize<'de> for CollectionLimits
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 CollectionLimits
impl PartialEq for CollectionLimits
Source§impl Serialize for CollectionLimits
impl Serialize for CollectionLimits
impl StructuralPartialEq for CollectionLimits
Auto Trait Implementations§
impl Freeze for CollectionLimits
impl RefUnwindSafe for CollectionLimits
impl Send for CollectionLimits
impl Sync for CollectionLimits
impl Unpin for CollectionLimits
impl UnsafeUnpin for CollectionLimits
impl UnwindSafe for CollectionLimits
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