pub struct UpdateApiKeyResponse {
pub id: String,
pub note: String,
pub api_key: String,
pub read_only: i32,
pub secret: RedactedString,
pub permissions: Option<ApiKeyPermissions>,
pub ips: Vec<String>,
}Fields§
§id: String§note: String§api_key: String§read_only: i32§secret: RedactedStringAPI secret. Wrapped in RedactedString so it never appears in
Debug / log output.
permissions: Option<ApiKeyPermissions>§ips: Vec<String>Trait Implementations§
Source§impl Clone for UpdateApiKeyResponse
impl Clone for UpdateApiKeyResponse
Source§fn clone(&self) -> UpdateApiKeyResponse
fn clone(&self) -> UpdateApiKeyResponse
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 UpdateApiKeyResponse
impl Debug for UpdateApiKeyResponse
Source§impl<'de> Deserialize<'de> for UpdateApiKeyResponse
impl<'de> Deserialize<'de> for UpdateApiKeyResponse
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 UpdateApiKeyResponse
impl RefUnwindSafe for UpdateApiKeyResponse
impl Send for UpdateApiKeyResponse
impl Sync for UpdateApiKeyResponse
impl Unpin for UpdateApiKeyResponse
impl UnsafeUnpin for UpdateApiKeyResponse
impl UnwindSafe for UpdateApiKeyResponse
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