pub struct SetUserApiKeyResponse {
pub api_key: String,
}
Fields§
§api_key: String
The api key which was created. This is the value which should be used in the Authorization header.
Implementations§
Source§impl SetUserApiKeyResponse
impl SetUserApiKeyResponse
pub fn new(api_key: String) -> SetUserApiKeyResponse
Trait Implementations§
Source§impl Clone for SetUserApiKeyResponse
impl Clone for SetUserApiKeyResponse
Source§fn clone(&self) -> SetUserApiKeyResponse
fn clone(&self) -> SetUserApiKeyResponse
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 SetUserApiKeyResponse
impl Debug for SetUserApiKeyResponse
Source§impl Default for SetUserApiKeyResponse
impl Default for SetUserApiKeyResponse
Source§fn default() -> SetUserApiKeyResponse
fn default() -> SetUserApiKeyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetUserApiKeyResponse
impl<'de> Deserialize<'de> for SetUserApiKeyResponse
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 SetUserApiKeyResponse
impl PartialEq for SetUserApiKeyResponse
Source§impl Serialize for SetUserApiKeyResponse
impl Serialize for SetUserApiKeyResponse
impl StructuralPartialEq for SetUserApiKeyResponse
Auto Trait Implementations§
impl Freeze for SetUserApiKeyResponse
impl RefUnwindSafe for SetUserApiKeyResponse
impl Send for SetUserApiKeyResponse
impl Sync for SetUserApiKeyResponse
impl Unpin for SetUserApiKeyResponse
impl UnwindSafe for SetUserApiKeyResponse
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