pub struct GetAPIKeyResponse {
pub key: Option<String>,
pub message: Option<String>,
}
Expand description
Response includes the key, if the credentials were correct, and possibly show a message related to errors or warnings.
Fields§
§key: Option<String>
User’s API key if successful
message: Option<String>
Error response
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetAPIKeyResponse
impl<'de> Deserialize<'de> for GetAPIKeyResponse
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 Drop for GetAPIKeyResponse
impl Drop for GetAPIKeyResponse
Source§impl Serialize for GetAPIKeyResponse
impl Serialize for GetAPIKeyResponse
Auto Trait Implementations§
impl Freeze for GetAPIKeyResponse
impl RefUnwindSafe for GetAPIKeyResponse
impl Send for GetAPIKeyResponse
impl Sync for GetAPIKeyResponse
impl Unpin for GetAPIKeyResponse
impl UnwindSafe for GetAPIKeyResponse
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