pub struct CreateApiKey {
pub name: Option<String>,
pub permissions: Option<Value>,
}Expand description
Request body for Client::create_api_key.
Fields§
§name: Option<String>Human-readable name for the key.
permissions: Option<Value>The permissions to grant.
Trait Implementations§
Source§impl Clone for CreateApiKey
impl Clone for CreateApiKey
Source§fn clone(&self) -> CreateApiKey
fn clone(&self) -> CreateApiKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateApiKey
impl Debug for CreateApiKey
Source§impl Default for CreateApiKey
impl Default for CreateApiKey
Source§fn default() -> CreateApiKey
fn default() -> CreateApiKey
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateApiKey
impl RefUnwindSafe for CreateApiKey
impl Send for CreateApiKey
impl Sync for CreateApiKey
impl Unpin for CreateApiKey
impl UnsafeUnpin for CreateApiKey
impl UnwindSafe for CreateApiKey
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