pub struct CreateApiKeyRequest {
pub name: String,
pub expires_at: Option<String>,
}Expand description
Request to create an API key.
Fields§
§name: StringDisplay name for the API key.
expires_at: Option<String>Optional expiration date.
Trait Implementations§
Source§impl Clone for CreateApiKeyRequest
impl Clone for CreateApiKeyRequest
Source§fn clone(&self) -> CreateApiKeyRequest
fn clone(&self) -> CreateApiKeyRequest
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 CreateApiKeyRequest
impl Debug for CreateApiKeyRequest
Auto Trait Implementations§
impl Freeze for CreateApiKeyRequest
impl RefUnwindSafe for CreateApiKeyRequest
impl Send for CreateApiKeyRequest
impl Sync for CreateApiKeyRequest
impl Unpin 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