pub struct McpAnonConfig {
pub daily_audits: i64,
pub daily_emails: i64,
pub shared_clients: Vec<String>,
}Expand description
The no-key MCP tier’s limits.
Fields§
§daily_audits: i64Fresh audits agents may start in any 24 hours, over all of them (MCP_ANON_DAILY_AUDITS,
default 200). Cached and joined audits don’t count.
daily_emails: i64Start-monitoring emails the tool may send in any 24 hours (MCP_ANON_DAILY_EMAILS,
default 200).
Lowercase fragments of the User-Agent of clients that connect from shared servers
(MCP_SHARED_CLIENTS, comma separated, matched case-insensitively). Per-IP limits don’t
apply to them, since everyone behind the connector shares an address.
Implementations§
Source§impl McpAnonConfig
impl McpAnonConfig
Whether a request with this User-Agent comes from a shared connector.
Trait Implementations§
Source§impl Clone for McpAnonConfig
impl Clone for McpAnonConfig
Source§impl Debug for McpAnonConfig
impl Debug for McpAnonConfig
impl Eq for McpAnonConfig
Source§impl PartialEq for McpAnonConfig
impl PartialEq for McpAnonConfig
impl StructuralPartialEq for McpAnonConfig
Auto Trait Implementations§
impl Freeze for McpAnonConfig
impl RefUnwindSafe for McpAnonConfig
impl Send for McpAnonConfig
impl Sync for McpAnonConfig
impl Unpin for McpAnonConfig
impl UnsafeUnpin for McpAnonConfig
impl UnwindSafe for McpAnonConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more