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