pub struct VerifyApiKey<'a> {
pub key: &'a str,
pub config_id: Option<&'a str>,
pub permissions: Option<&'a Value>,
}Expand description
Inputs for server-only API key verification. Verification consumes one use.
Fields§
§key: &'a strThe plaintext API key presented by the caller.
config_id: Option<&'a str>Restrict verification to this configuration, or use the default lookup configuration.
permissions: Option<&'a Value>Required resource permissions, checked before quota or rate-limit consumption.
Auto Trait Implementations§
impl<'a> Freeze for VerifyApiKey<'a>
impl<'a> RefUnwindSafe for VerifyApiKey<'a>
impl<'a> Send for VerifyApiKey<'a>
impl<'a> Sync for VerifyApiKey<'a>
impl<'a> Unpin for VerifyApiKey<'a>
impl<'a> UnsafeUnpin for VerifyApiKey<'a>
impl<'a> UnwindSafe for VerifyApiKey<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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