pub struct UpdateSubApiKeyResponse {
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 UpdateSubApiKeyResponse
impl Clone for UpdateSubApiKeyResponse
Source§fn clone(&self) -> UpdateSubApiKeyResponse
fn clone(&self) -> UpdateSubApiKeyResponse
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 UpdateSubApiKeyResponse
impl Debug for UpdateSubApiKeyResponse
Source§impl<'de> Deserialize<'de> for UpdateSubApiKeyResponse
impl<'de> Deserialize<'de> for UpdateSubApiKeyResponse
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 UpdateSubApiKeyResponse
impl RefUnwindSafe for UpdateSubApiKeyResponse
impl Send for UpdateSubApiKeyResponse
impl Sync for UpdateSubApiKeyResponse
impl Unpin for UpdateSubApiKeyResponse
impl UnsafeUnpin for UpdateSubApiKeyResponse
impl UnwindSafe for UpdateSubApiKeyResponse
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