pub struct DeleteApiKeyInput {
pub key_id: Id,
pub user_id: Option<Id>,
}Expand description
The body of /api-key/delete.
Fields§
§key_id: Id§user_id: Option<Id>Server-only: the owner when there is no session.
Trait Implementations§
Source§impl Clone for DeleteApiKeyInput
impl Clone for DeleteApiKeyInput
Source§impl Debug for DeleteApiKeyInput
impl Debug for DeleteApiKeyInput
Source§impl<'de> Deserialize<'de> for DeleteApiKeyInput
impl<'de> Deserialize<'de> for DeleteApiKeyInput
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 DeleteApiKeyInput
impl Freeze for DeleteApiKeyInput
impl Move for DeleteApiKeyInput
impl RefUnwindSafe for DeleteApiKeyInput
impl Send for DeleteApiKeyInput
impl Sync for DeleteApiKeyInput
impl Unpin for DeleteApiKeyInput
impl UnsafeUnpin for DeleteApiKeyInput
impl UnwindSafe for DeleteApiKeyInput
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