pub struct LimitsBlock {
pub api_rate_limit: Option<i32>,
pub max_alerts: Option<i32>,
pub mcp_rate_limit: Option<i32>,
pub model_api: Option<bool>,
}Fields§
§api_rate_limit: Option<i32>APIRateLimit is requests per minute allowed against the REST /v1/world surface. -1 means unlimited.
max_alerts: Option<i32>MaxAlerts is how many saved OSINT alert rules the plan allows. -1 means unlimited.
mcp_rate_limit: Option<i32>MCPRateLimit is requests per minute allowed against the MCP surface. -1 means unlimited.
model_api: Option<bool>ModelAPI is whether the plan reaches the World model endpoint and the SSE stream. The free floor is false, and that is what a catalog outage resolves to.
Implementations§
Source§impl LimitsBlock
impl LimitsBlock
pub fn new() -> LimitsBlock
Trait Implementations§
Source§impl Clone for LimitsBlock
impl Clone for LimitsBlock
Source§fn clone(&self) -> LimitsBlock
fn clone(&self) -> LimitsBlock
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 LimitsBlock
impl Debug for LimitsBlock
Source§impl Default for LimitsBlock
impl Default for LimitsBlock
Source§fn default() -> LimitsBlock
fn default() -> LimitsBlock
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LimitsBlock
impl<'de> Deserialize<'de> for LimitsBlock
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 LimitsBlock
impl PartialEq for LimitsBlock
Source§impl Serialize for LimitsBlock
impl Serialize for LimitsBlock
impl StructuralPartialEq for LimitsBlock
Auto Trait Implementations§
impl Freeze for LimitsBlock
impl RefUnwindSafe for LimitsBlock
impl Send for LimitsBlock
impl Sync for LimitsBlock
impl Unpin for LimitsBlock
impl UnsafeUnpin for LimitsBlock
impl UnwindSafe for LimitsBlock
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