pub struct ArcCreateVirtualKeyResponse {
pub id: String,
pub customer_id: String,
pub name: String,
pub user_id: String,
pub expires_at: Option<String>,
pub rpm_limit: Option<i32>,
pub tpm_limit: Option<i32>,
pub created_at: String,
pub updated_at: String,
pub access_token: String,
}Expand description
ArcCreateVirtualKeyResponse : The virtual key that was created, including its access token.
Fields§
§id: StringThe unique identifier of the virtual key.
customer_id: StringThe ID of the customer account that owns the key.
name: StringThe display name of the virtual key.
user_id: StringThe ID of the user who created the key.
expires_at: Option<String>The date and time the key expires, in RFC 3339 format. null if the key doesn’t expire.
rpm_limit: Option<i32>The requests-per-minute limit for this key. null if there is no limit.
tpm_limit: Option<i32>The tokens-per-minute limit for this key. null if there is no limit.
created_at: StringThe date and time the key was created, in RFC 3339 format.
updated_at: StringThe date and time the key was last updated, in RFC 3339 format.
access_token: StringThe access token for this virtual key. This is only returned when the key is created or rotated, and cannot be retrieved again afterward.
Implementations§
Trait Implementations§
Source§impl Clone for ArcCreateVirtualKeyResponse
impl Clone for ArcCreateVirtualKeyResponse
Source§impl Debug for ArcCreateVirtualKeyResponse
impl Debug for ArcCreateVirtualKeyResponse
Source§impl<'de> Deserialize<'de> for ArcCreateVirtualKeyResponse
impl<'de> Deserialize<'de> for ArcCreateVirtualKeyResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ArcCreateVirtualKeyResponse
Auto Trait Implementations§
impl Freeze for ArcCreateVirtualKeyResponse
impl RefUnwindSafe for ArcCreateVirtualKeyResponse
impl Send for ArcCreateVirtualKeyResponse
impl Sync for ArcCreateVirtualKeyResponse
impl Unpin for ArcCreateVirtualKeyResponse
impl UnsafeUnpin for ArcCreateVirtualKeyResponse
impl UnwindSafe for ArcCreateVirtualKeyResponse
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