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