pub struct UpdateKeyResponse {
pub data: ApiKey,
}Expand description
Response from PATCH /keys/{hash}.
Fields§
§data: ApiKeyUpdated key metadata.
Trait Implementations§
Source§impl Clone for UpdateKeyResponse
impl Clone for UpdateKeyResponse
Source§fn clone(&self) -> UpdateKeyResponse
fn clone(&self) -> UpdateKeyResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateKeyResponse
impl Debug for UpdateKeyResponse
Source§impl Default for UpdateKeyResponse
impl Default for UpdateKeyResponse
Source§fn default() -> UpdateKeyResponse
fn default() -> UpdateKeyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateKeyResponse
impl<'de> Deserialize<'de> for UpdateKeyResponse
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 UpdateKeyResponse
impl PartialEq for UpdateKeyResponse
Source§impl Serialize for UpdateKeyResponse
impl Serialize for UpdateKeyResponse
impl StructuralPartialEq for UpdateKeyResponse
Auto Trait Implementations§
impl Freeze for UpdateKeyResponse
impl RefUnwindSafe for UpdateKeyResponse
impl Send for UpdateKeyResponse
impl Sync for UpdateKeyResponse
impl Unpin for UpdateKeyResponse
impl UnsafeUnpin for UpdateKeyResponse
impl UnwindSafe for UpdateKeyResponse
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