pub struct PrivateCreateApiKeyRequest {
pub max_scope: String,
pub name: Option<String>,
pub public_key: Option<String>,
pub enabled_features: Option<Vec<KeyFeatures>>,
}Fields§
§max_scope: String§name: Option<String>§public_key: Option<String>§enabled_features: Option<Vec<KeyFeatures>>Trait Implementations§
Source§impl Clone for PrivateCreateApiKeyRequest
impl Clone for PrivateCreateApiKeyRequest
Source§fn clone(&self) -> PrivateCreateApiKeyRequest
fn clone(&self) -> PrivateCreateApiKeyRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 PrivateCreateApiKeyRequest
impl Debug for PrivateCreateApiKeyRequest
Source§impl Default for PrivateCreateApiKeyRequest
impl Default for PrivateCreateApiKeyRequest
Source§fn default() -> PrivateCreateApiKeyRequest
fn default() -> PrivateCreateApiKeyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateCreateApiKeyRequest
impl<'de> Deserialize<'de> for PrivateCreateApiKeyRequest
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
impl StructuralPartialEq for PrivateCreateApiKeyRequest
Auto Trait Implementations§
impl Freeze for PrivateCreateApiKeyRequest
impl RefUnwindSafe for PrivateCreateApiKeyRequest
impl Send for PrivateCreateApiKeyRequest
impl Sync for PrivateCreateApiKeyRequest
impl Unpin for PrivateCreateApiKeyRequest
impl UnwindSafe for PrivateCreateApiKeyRequest
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