pub struct UpdateApiKey {
pub name: Option<String>,
pub permissions: Option<ApiKeyPermissions>,
}Expand description
Body for update_api_key. Fields left None stay unchanged.
Fields§
§name: Option<String>Replace the human-readable name.
permissions: Option<ApiKeyPermissions>Replace the permission set.
Trait Implementations§
Source§impl Clone for UpdateApiKey
impl Clone for UpdateApiKey
Source§impl Debug for UpdateApiKey
impl Debug for UpdateApiKey
Source§impl Default for UpdateApiKey
impl Default for UpdateApiKey
Auto Trait Implementations§
impl Freeze for UpdateApiKey
impl RefUnwindSafe for UpdateApiKey
impl Send for UpdateApiKey
impl Sync for UpdateApiKey
impl Unpin for UpdateApiKey
impl UnsafeUnpin for UpdateApiKey
impl UnwindSafe for UpdateApiKey
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