pub struct VerifyApiKeyInput {
pub key: String,
pub permissions: Option<Permissions>,
}Expand description
The input of /api-key/verify.
Fields§
§key: String§permissions: Option<Permissions>Every action of every resource listed must be granted to the key.
Trait Implementations§
Source§impl Clone for VerifyApiKeyInput
impl Clone for VerifyApiKeyInput
Source§impl Debug for VerifyApiKeyInput
impl Debug for VerifyApiKeyInput
Source§impl<'de> Deserialize<'de> for VerifyApiKeyInput
impl<'de> Deserialize<'de> for VerifyApiKeyInput
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 Forget for VerifyApiKeyInput
impl Freeze for VerifyApiKeyInput
impl Move for VerifyApiKeyInput
impl RefUnwindSafe for VerifyApiKeyInput
impl Send for VerifyApiKeyInput
impl Sync for VerifyApiKeyInput
impl Unpin for VerifyApiKeyInput
impl UnsafeUnpin for VerifyApiKeyInput
impl UnwindSafe for VerifyApiKeyInput
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