pub struct RateLimitsConfig {Show 14 fields
pub disabled: bool,
pub oauth_public_per_second: u64,
pub oauth_auth_per_second: u64,
pub contexts_per_second: u64,
pub tasks_per_second: u64,
pub artifacts_per_second: u64,
pub agent_registry_per_second: u64,
pub agents_per_second: u64,
pub mcp_registry_per_second: u64,
pub mcp_per_second: u64,
pub stream_per_second: u64,
pub content_per_second: u64,
pub burst_multiplier: u64,
pub tier_multipliers: TierMultipliers,
}Fields§
§disabled: bool§oauth_public_per_second: u64§oauth_auth_per_second: u64§contexts_per_second: u64§tasks_per_second: u64§artifacts_per_second: u64§agent_registry_per_second: u64§agents_per_second: u64§mcp_registry_per_second: u64§mcp_per_second: u64§stream_per_second: u64§content_per_second: u64§burst_multiplier: u64§tier_multipliers: TierMultipliersTrait Implementations§
Source§impl Clone for RateLimitsConfig
impl Clone for RateLimitsConfig
Source§fn clone(&self) -> RateLimitsConfig
fn clone(&self) -> RateLimitsConfig
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 RateLimitsConfig
Source§impl Debug for RateLimitsConfig
impl Debug for RateLimitsConfig
Source§impl Default for RateLimitsConfig
impl Default for RateLimitsConfig
Source§impl<'de> Deserialize<'de> for RateLimitsConfig
impl<'de> Deserialize<'de> for RateLimitsConfig
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 From<&RateLimitsConfig> for RateLimitConfig
impl From<&RateLimitsConfig> for RateLimitConfig
Source§fn from(config: &RateLimitsConfig) -> Self
fn from(config: &RateLimitsConfig) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for RateLimitsConfig
impl JsonSchema for RateLimitsConfig
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 moreAuto Trait Implementations§
impl Freeze for RateLimitsConfig
impl RefUnwindSafe for RateLimitsConfig
impl Send for RateLimitsConfig
impl Sync for RateLimitsConfig
impl Unpin for RateLimitsConfig
impl UnsafeUnpin for RateLimitsConfig
impl UnwindSafe for RateLimitsConfig
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