pub struct CreateApiKeyRequest { /* private fields */ }Implementations§
Source§impl CreateApiKeyRequest
impl CreateApiKeyRequest
pub fn expires_at<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn rate_limit_override<T>(self, value: T) -> Self
pub fn scopes<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CreateApiKeyRequest
impl Clone for CreateApiKeyRequest
Source§impl Debug for CreateApiKeyRequest
impl Debug for CreateApiKeyRequest
Source§impl Default for CreateApiKeyRequest
impl Default for CreateApiKeyRequest
Source§impl From<CreateApiKeyRequest> for CreateApiKeyRequest
impl From<CreateApiKeyRequest> for CreateApiKeyRequest
Source§fn from(value: CreateApiKeyRequest) -> Self
fn from(value: CreateApiKeyRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateApiKeyRequest> for CreateApiKeyRequest
impl TryFrom<CreateApiKeyRequest> for CreateApiKeyRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateApiKeyRequest) -> Result<Self, ConversionError>
fn try_from(value: CreateApiKeyRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateApiKeyRequest
impl RefUnwindSafe for CreateApiKeyRequest
impl Send for CreateApiKeyRequest
impl Sync for CreateApiKeyRequest
impl Unpin for CreateApiKeyRequest
impl UnsafeUnpin for CreateApiKeyRequest
impl UnwindSafe for CreateApiKeyRequest
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