pub struct AtiNamespace {
pub v: u8,
pub rate: HashMap<String, String>,
}Expand description
ATI-specific namespace in JWT claims.
Fields§
§v: u8Claims schema version.
rate: HashMap<String, String>Per-tool-pattern rate limits (e.g. {“tool:github__*”: “10/hour”}).
Trait Implementations§
Source§impl Clone for AtiNamespace
impl Clone for AtiNamespace
Source§fn clone(&self) -> AtiNamespace
fn clone(&self) -> AtiNamespace
Returns a duplicate of the value. Read more
1.0.0 · 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 AtiNamespace
impl Debug for AtiNamespace
Source§impl<'de> Deserialize<'de> for AtiNamespace
impl<'de> Deserialize<'de> for AtiNamespace
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
Auto Trait Implementations§
impl Freeze for AtiNamespace
impl RefUnwindSafe for AtiNamespace
impl Send for AtiNamespace
impl Sync for AtiNamespace
impl Unpin for AtiNamespace
impl UnsafeUnpin for AtiNamespace
impl UnwindSafe for AtiNamespace
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