pub struct AdminCreateKeyResponse {
pub api_key_id: String,
pub api_key: String,
pub customer_id: String,
pub key_type: String,
pub scopes: Vec<String>,
pub expires_at: Option<i64>,
}Fields§
§api_key_id: String§api_key: String§customer_id: String§key_type: String§scopes: Vec<String>§expires_at: Option<i64>Trait Implementations§
Source§impl Clone for AdminCreateKeyResponse
impl Clone for AdminCreateKeyResponse
Source§fn clone(&self) -> AdminCreateKeyResponse
fn clone(&self) -> AdminCreateKeyResponse
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 AdminCreateKeyResponse
impl Debug for AdminCreateKeyResponse
Source§impl<'de> Deserialize<'de> for AdminCreateKeyResponse
impl<'de> Deserialize<'de> for AdminCreateKeyResponse
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
Source§impl PartialEq for AdminCreateKeyResponse
impl PartialEq for AdminCreateKeyResponse
Source§impl Serialize for AdminCreateKeyResponse
impl Serialize for AdminCreateKeyResponse
impl Eq for AdminCreateKeyResponse
impl StructuralPartialEq for AdminCreateKeyResponse
Auto Trait Implementations§
impl Freeze for AdminCreateKeyResponse
impl RefUnwindSafe for AdminCreateKeyResponse
impl Send for AdminCreateKeyResponse
impl Sync for AdminCreateKeyResponse
impl Unpin for AdminCreateKeyResponse
impl UnwindSafe for AdminCreateKeyResponse
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