pub struct APIKeyUpdate {
pub id: String,
pub description: Option<String>,
pub metadata: Option<String>,
}
Fields§
§id: String
§description: Option<String>
human-readable description of what uses the API key to authenticate. optional, max 255 bytes.
metadata: Option<String>
arbitrary user-defined data of this API key. optional, max 4096 bytes
Trait Implementations§
Source§impl Clone for APIKeyUpdate
impl Clone for APIKeyUpdate
Source§fn clone(&self) -> APIKeyUpdate
fn clone(&self) -> APIKeyUpdate
Returns a copy 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 APIKeyUpdate
impl Debug for APIKeyUpdate
Source§impl Default for APIKeyUpdate
impl Default for APIKeyUpdate
Source§fn default() -> APIKeyUpdate
fn default() -> APIKeyUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for APIKeyUpdate
impl<'de> Deserialize<'de> for APIKeyUpdate
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
Auto Trait Implementations§
impl Freeze for APIKeyUpdate
impl RefUnwindSafe for APIKeyUpdate
impl Send for APIKeyUpdate
impl Sync for APIKeyUpdate
impl Unpin for APIKeyUpdate
impl UnwindSafe for APIKeyUpdate
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