pub struct CreateApiKeyParams {
pub expires_at_seconds: Option<i64>,
pub metadata: Option<Value>,
pub user_id: Option<String>,
pub org_id: Option<String>,
}Expand description
struct for passing parameters to the method create_api_key
Fields§
§expires_at_seconds: Option<i64>§metadata: Option<Value>§user_id: Option<String>§org_id: Option<String>Trait Implementations§
Source§impl Clone for CreateApiKeyParams
impl Clone for CreateApiKeyParams
Source§fn clone(&self) -> CreateApiKeyParams
fn clone(&self) -> CreateApiKeyParams
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 CreateApiKeyParams
impl Debug for CreateApiKeyParams
Source§impl Default for CreateApiKeyParams
impl Default for CreateApiKeyParams
Source§fn default() -> CreateApiKeyParams
fn default() -> CreateApiKeyParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateApiKeyParams
impl RefUnwindSafe for CreateApiKeyParams
impl Send for CreateApiKeyParams
impl Sync for CreateApiKeyParams
impl Unpin for CreateApiKeyParams
impl UnwindSafe for CreateApiKeyParams
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