pub struct ApiKeyUpdateRequest {
pub api_key_id: String,
pub name: Option<String>,
pub status: Option<ApiKeyStatus>,
pub credentials: Option<Credentials>,
}
Expand description
Request parameters for updating an API key.
Fields§
§api_key_id: String
API key identifier (not serialized)
name: Option<String>
New name for the API key
status: Option<ApiKeyStatus>
New status for the API key
credentials: Option<Credentials>
Credentials for authentication (not serialized)
Trait Implementations§
Source§impl Clone for ApiKeyUpdateRequest
impl Clone for ApiKeyUpdateRequest
Source§fn clone(&self) -> ApiKeyUpdateRequest
fn clone(&self) -> ApiKeyUpdateRequest
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 ApiKeyUpdateRequest
impl Debug for ApiKeyUpdateRequest
Auto Trait Implementations§
impl Freeze for ApiKeyUpdateRequest
impl RefUnwindSafe for ApiKeyUpdateRequest
impl Send for ApiKeyUpdateRequest
impl Sync for ApiKeyUpdateRequest
impl Unpin for ApiKeyUpdateRequest
impl UnwindSafe for ApiKeyUpdateRequest
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