pub struct ApiKeyErrorResponse {
pub exception_id: Option<Box<ExceptionId>>,
pub message: Option<String>,
pub username: String,
}Expand description
ApiKeyErrorResponse : Action: Attempt to fetch an API key with username and password. Error: User does not exist or password is incorrect.
Fields§
§exception_id: Option<Box<ExceptionId>>§message: Option<String>§username: StringImplementations§
Source§impl ApiKeyErrorResponse
impl ApiKeyErrorResponse
Sourcepub fn new(username: String) -> ApiKeyErrorResponse
pub fn new(username: String) -> ApiKeyErrorResponse
Action: Attempt to fetch an API key with username and password. Error: User does not exist or password is incorrect.
Trait Implementations§
Source§impl Clone for ApiKeyErrorResponse
impl Clone for ApiKeyErrorResponse
Source§fn clone(&self) -> ApiKeyErrorResponse
fn clone(&self) -> ApiKeyErrorResponse
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 ApiKeyErrorResponse
impl Debug for ApiKeyErrorResponse
Source§impl Default for ApiKeyErrorResponse
impl Default for ApiKeyErrorResponse
Source§fn default() -> ApiKeyErrorResponse
fn default() -> ApiKeyErrorResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiKeyErrorResponse
impl<'de> Deserialize<'de> for ApiKeyErrorResponse
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 ApiKeyErrorResponse
impl PartialEq for ApiKeyErrorResponse
Source§impl Serialize for ApiKeyErrorResponse
impl Serialize for ApiKeyErrorResponse
impl StructuralPartialEq for ApiKeyErrorResponse
Auto Trait Implementations§
impl Freeze for ApiKeyErrorResponse
impl RefUnwindSafe for ApiKeyErrorResponse
impl Send for ApiKeyErrorResponse
impl Sync for ApiKeyErrorResponse
impl Unpin for ApiKeyErrorResponse
impl UnwindSafe for ApiKeyErrorResponse
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