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